Skip to content

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? ​

optional readonly?: boolean

Whether it is mounted read only.

Default ​

ts
false

volumeName ​

volumeName: string

The name of the volume ([a-zA-Z0-9][a-zA-Z0-9_.-]*), created empty when it does not exist.

Released under the MIT License.