Service.Command 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.
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