Share via


Service.WorkingDir Property

Definition

Gets or sets the working directory of the container. Specifies the directory in which commands are run inside the container. Corresponds to the "working_dir" property in a Docker Compose file.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to