NAME

API::Docker::Type::MountPoint - A mount point configuration inside the container

VERSION

version 0.004

DESCRIPTION

Generated from the MountPoint definition of spec/v1.51.yaml.

This is used for reporting the mountpoints in use by a container.

type

The mount type:

  • bind a mount of a file or directory from the host into the container.

  • cluster a Swarm cluster volume.

  • image an OCI image.

  • npipe a named pipe from the host into the container.

  • tmpfs a tmpfs.

  • volume a docker volume with the given Name.

The swagger types this field as an allOf around a single $ref to MountType, which is a string and not an object, so it is a plain Str here.

name

Name is the name reference to the underlying data defined by Source e.g., the volume name.

source

Source location of the mount.

For volumes, this contains the storage location of the volume (within /var/lib/docker/volumes/). For bind-mounts, and npipe, this contains the source (host) part of the bind-mount. For tmpfs mount points, this field is empty.

destination

Destination is the path relative to the container root (/) where the Source is mounted inside the container.

driver

Driver is the volume driver used to create the volume (if it is a volume).

mode

Mode is a comma separated list of options supplied by the user when creating the bind/volume mount.

The default is platform-specific ("z" on Linux, empty on Windows).

rw

Whether the mount is mounted writable (read-write). Serialised as RW -- spelled out, because deriving it from the Perl name would produce Rw.

propagation

Propagation describes how mounts are propagated from the host into the mount point, and vice-versa. Refer to the Linux kernel documentation for details. This field is not used on Windows.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.