Type Alias: ContainerdVolume
ContainerdVolume =
object
A named volume mounted into a container (ContainerCreateOptions.volumes): a directory the component keeps in its data root, which outlives the container. It is not a nerdctl volume.
Properties
containerPath
containerPath:
string
The absolute path in the container where it is mounted.
readonly?
optionalreadonly?:boolean
Whether it is mounted read only.
Default
ts
falsevolumeName
volumeName:
string
The name of the volume ([a-zA-Z0-9][a-zA-Z0-9_.-]*), created empty when it does not exist.