Files
podman/docs/source/markdown/options/image-volume.md
Ed Santiago 56039cffd7 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 <santiago@redhat.com>
2022-08-03 06:53:33 -06:00

438 B

--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.