Service.Image Property

Definition

Specifies the Docker image to be used for the service.

[YamlDotNet.Serialization.YamlMember(Alias="image")]
public string? Image { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="image")>]
member this.Image : string with get, set
Public Property Image As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The image refers to the identifier of a container image hosted in a registry. This property is required if no build instructions are provided for the service. It may include an optional tag or digest to specify a particular version of the image. If omitted, Docker will default to the `latest` tag.

Applies to