summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/chrootdirs.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-02 06:02:04 -0600
committerEd Santiago <santiago@redhat.com>2022-08-03 06:53:33 -0600
commit56039cffd7923d682bd620e5a5a974aabc94dd1b (patch)
tree5459999ec2ecfc82f4565070eeb6bb2472ccadec /docs/source/markdown/options/chrootdirs.md
parent1139cd9b8142aa4f4efb0f930a398453d521c1d9 (diff)
downloadpodman-56039cffd7923d682bd620e5a5a974aabc94dd1b.tar.gz
podman-56039cffd7923d682bd620e5a5a974aabc94dd1b.tar.bz2
podman-56039cffd7923d682bd620e5a5a974aabc94dd1b.zip
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>
Diffstat (limited to 'docs/source/markdown/options/chrootdirs.md')
-rw-r--r--docs/source/markdown/options/chrootdirs.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/markdown/options/chrootdirs.md b/docs/source/markdown/options/chrootdirs.md
new file mode 100644
index 000000000..624a10624
--- /dev/null
+++ b/docs/source/markdown/options/chrootdirs.md
@@ -0,0 +1,5 @@
+#### **--chrootdirs**=*path*
+
+Path to a directory inside the container that should be treated as a `chroot` directory.
+Any Podman managed file (e.g., /etc/resolv.conf, /etc/hosts, etc/hostname) that is mounted into the root directory will be mounted into that location as well.
+Multiple directories should be separated with a comma.