Mount types
For an introduction to mounts, see the MOUNT referrence.
When running containers, Raptor supports mounting various file resources into the container namespace.
In the simplest form, this means presenting a directory from the host environment, at a specified location in the container.
This is equivalent to how Docker uses volume mounts (-v / --volume).
However, Raptor supports more than just mounting directories:
| Type | Description | Access |
|---|---|---|
MOUNT --simple ... | Mounts a directory from the host (default) | Read/write |
MOUNT --file ... | Mounts a single file from the host | Read/write |
MOUNT --layers ... | Mounts a view of set of layers as directories | Read-only |
MOUNT --overlay ... | Mounts a view of the sum of a set of layers | Read-only |
If no mount type is specified, --simple is implied as the default.
For clarity, it is recommended to always specify a mount type.
Read more about the specific mount types: