Service.ContainerName Property

Definition

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

Applies to