Share via


Service.Hostname Property

Definition

Gets or sets the hostname for the service container. This defines the hostname that will be assigned to the container and can be used for network identification within the container's network.

[YamlDotNet.Serialization.YamlMember(Alias="hostname")]
public string? Hostname { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="hostname")>]
member this.Hostname : string with get, set
Public Property Hostname As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to