Version:
ContainerVolumeMapping(string HostPath, string ContainerPath, bool ReadOnly) Constructor
Describes a host to container volumne mapping.
Syntax
public ContainerVolumeMapping(string HostPath, string ContainerPath, bool ReadOnly)
Parameters
- HostPath
- Type: string
Host path to capture in the container.
- ContainerPath
- Type: string
Path inside the container to map to HostPath. When null (Nothing in Visual Basic), a temporary path is generated.
- ReadOnly
- Type: bool
When true, the host path is mapped as read-only.