Service.Image Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.