VolumeDefinition interface
Describes the volume configuration for the container
Properties
bind | Bind Options of the mount |
consistency | Consistency of the volume |
read |
Indicate whether to mount volume as readOnly. Default value for this is false. |
source | Source of the mount. For bind mounts this is the host path. |
target | Target of the mount. For bind mounts this is the path in the container. |
tmpfs | tmpfs option of the mount |
type | Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe |
volume | Volume Options of the mount |
Property Details
bind
consistency
Consistency of the volume
consistency?: string
Property Value
string
readOnly
Indicate whether to mount volume as readOnly. Default value for this is false.
readOnly?: boolean
Property Value
boolean
source
Source of the mount. For bind mounts this is the host path.
source?: string
Property Value
string
target
Target of the mount. For bind mounts this is the path in the container.
target?: string
Property Value
string
tmpfs
type
Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe
type?: string
Property Value
string