mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
quadlet: Add device support for .volume files
The Device, Type, Copy and Options keys are now supported in quadlet .volume files. This allows users to create filesystem based volumes with quadlets .volume files. Signed-off-by: Ingo Becker <ingo@orgizm.net> Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -412,6 +412,23 @@ Set one or more OCI labels on the volume. The format is a list of
|
||||
|
||||
This key can be listed multiple times.
|
||||
|
||||
#### `Device=`
|
||||
|
||||
The path of a device which should be mounted for the volume.
|
||||
|
||||
#### `Type=`
|
||||
|
||||
The filesystem type of `Device` as used by the **mount(8)** commands `-t` option.
|
||||
|
||||
#### `Options=`
|
||||
|
||||
The mount options to use for a filesystem as used by the **mount(8)** command `-o` option.
|
||||
|
||||
#### `Copy=` (default to `yes`)
|
||||
|
||||
If enabled, the content of the image located at the mountpoint of the volume is copied into the
|
||||
volume on the first run.
|
||||
|
||||
### Network units
|
||||
|
||||
Network files are named with a `.network` extension and contain a section `[Network]` describing the
|
||||
|
Reference in New Issue
Block a user