From 56039cffd7923d682bd620e5a5a974aabc94dd1b Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 2 Aug 2022 06:02:04 -0600 Subject: Refactor common options in man pages podman-create and -run have many options in common. To date, these are copy-pasted and haphazardly maintained. Solution: add an include mechanism, '@@option foo', such that multiple md source files can fetch from one common file. This is a Phase One commit, a very small subset of what's possible. Purpose of this commit is ease of review. If this passes review, much more (trickier stuff) will be forthcoming. Signed-off-by: Ed Santiago --- docs/source/markdown/options/image-volume.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/source/markdown/options/image-volume.md (limited to 'docs/source/markdown/options/image-volume.md') diff --git a/docs/source/markdown/options/image-volume.md b/docs/source/markdown/options/image-volume.md new file mode 100644 index 000000000..2a549ef3c --- /dev/null +++ b/docs/source/markdown/options/image-volume.md @@ -0,0 +1,8 @@ +#### **--image-volume**=**bind** | *tmpfs* | *ignore* + +Tells Podman how to handle the builtin image volumes. Default is **bind**. + +- **bind**: An anonymous named volume will be created and mounted into the container. +- **tmpfs**: The volume is mounted onto the container as a tmpfs, which allows the users to create +content that disappears when the container is stopped. +- **ignore**: All volumes are just ignored and no action is taken. -- cgit v1.2.3-54-g00ecf