summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRalf Haferkamp <rhafer@suse.com>2020-11-02 16:55:10 +0100
committerRalf Haferkamp <rhafer@suse.com>2020-11-02 16:55:10 +0100
commit448aafc2fd985bbcc242de691d8d107349a5ea4c (patch)
tree269fae9ec81ace24b1f7ad9afe54b4d7e270b30c /docs
parent7375a55757fe7615f133db5b097bb4db9a244888 (diff)
downloadpodman-448aafc2fd985bbcc242de691d8d107349a5ea4c.tar.gz
podman-448aafc2fd985bbcc242de691d8d107349a5ea4c.tar.bz2
podman-448aafc2fd985bbcc242de691d8d107349a5ea4c.zip
docs: Mention mounts.conf location for non-root users
Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/containers-mounts.conf.5.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/markdown/containers-mounts.conf.5.md b/docs/source/markdown/containers-mounts.conf.5.md
index 130c1c523..74492c831 100644
--- a/docs/source/markdown/containers-mounts.conf.5.md
+++ b/docs/source/markdown/containers-mounts.conf.5.md
@@ -10,7 +10,7 @@ The mounts.conf file specifies volume mount directories that are automatically m
The format of the mounts.conf is the volume format `/SRC:/DEST`, one mount per line. For example, a mounts.conf with the line `/usr/share/secrets:/run/secrets` would cause the contents of the `/usr/share/secrets` directory on the host to be mounted on the `/run/secrets` directory inside the container. Setting mountpoints allows containers to use the files of the host, for instance, to use the host's subscription to some enterprise Linux distribution.
## FILES
-Some distributions may provide a `/usr/share/containers/mounts.conf` file to provide default mounts, but users can create a `/etc/containers/mounts.conf`, to specify their own special volumes to mount in the container.
+Some distributions may provide a `/usr/share/containers/mounts.conf` file to provide default mounts, but users can create a `/etc/containers/mounts.conf`, to specify their own special volumes to mount in the container. When Podman runs in rootless mode, the file `$HOME/.config/containers/mounts.conf` will override the default if it exists.
## HISTORY
Aug 2018, Originally compiled by Valentin Rothberg <vrothberg@suse.com>