mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-19 06:07:50 +00:00
Merge pull request #28506 from Honny1/fix-mount-docs-anonymous-volume
Fix docs --mount source not mandatory for type=volume
This commit is contained in:
commit
c3d7c2fca7
1 changed files with 4 additions and 1 deletions
|
|
@ -11,7 +11,8 @@ Current supported mount TYPEs are **artifact**, **bind**, **devpts**, **glob**,
|
|||
Options common to all mount types:
|
||||
|
||||
- *src*, *source*: mount source spec for **bind**, **glob**, and **volume**.
|
||||
Mandatory for **artifact**, **bind**, **glob**, **image** and **volume**.
|
||||
Mandatory for **artifact**, **bind**, **glob**, and **image**.
|
||||
Optional for **volume**; if omitted, an anonymous volume is created.
|
||||
|
||||
- *dst*, *dest*, *destination*, *target*: mount destination spec.
|
||||
|
||||
|
|
@ -142,4 +143,6 @@ Examples:
|
|||
|
||||
- `type=artifact,src=quay.io/libpod/testartifact:20250206-multi,dst=/data,title=test1`
|
||||
|
||||
- `type=volume,destination=/path/in/container`
|
||||
|
||||
- `type=volume,src=test_vol,dst=/data,subpath=/code/docs`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue