Share via


ContainerHostBatchBindMountEntry.IsReadOnly Property

Definition

Gets or sets mount this source path as read-only mode or not. Default value is false (read/write mode).

[Newtonsoft.Json.JsonProperty(PropertyName="isReadOnly")]
public bool? IsReadOnly { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="isReadOnly")>]
member this.IsReadOnly : Nullable<bool> with get, set
Public Property IsReadOnly As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.

Applies to