Service.ContainerName 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 name of the container to be used. This property maps to the "container_name" field in a Docker Compose file. If set, the container will have the specified name; otherwise, a name will be automatically generated.
[YamlDotNet.Serialization.YamlMember(Alias="container_name")]
public string? ContainerName { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="container_name")>]
member this.ContainerName : string with get, set
Public Property ContainerName As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute