Share via


Service.ReadOnly Property

Definition

Defines whether the service containers should be run in read-only mode. If set to true, the containers will have a read-only file system, limiting write operations to specific directories defined by writable mounts or tempfs.

[YamlDotNet.Serialization.YamlMember(Alias="read_only")]
public bool? ReadOnly { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="read_only")>]
member this.ReadOnly : Nullable<bool> with get, set
Public Property ReadOnly As Nullable(Of Boolean)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to