Share via


Service.Command Property

Definition

Represents the command to override the default command specified in the image's Dockerfile. This property allows specifying how the container should run by defining an executable and its arguments.

[YamlDotNet.Serialization.YamlMember(Alias="command", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> Command { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="command", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Command : System.Collections.Generic.List<string> with get, set
Public Property Command As List(Of String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to