aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-12 19:35:01 +0000
committerGitHub <noreply@github.com>2022-07-12 19:35:01 +0000
commit72d13c56ce2784aa27ce2481e85de516672d0b5f (patch)
tree1c88cadf31b4631cfd87b7b7a9a2f41dee645e97 /docs
parent587807b8aa17aef0d1672f34883d5e1e41b55b07 (diff)
parentb8a7e275d14e5c0cf993a66e90e4214a5d25ae37 (diff)
downloadpodman-72d13c56ce2784aa27ce2481e85de516672d0b5f.tar.gz
podman-72d13c56ce2784aa27ce2481e85de516672d0b5f.tar.bz2
podman-72d13c56ce2784aa27ce2481e85de516672d0b5f.zip
Merge pull request #14905 from eriksjolund/remove_rootless_considerations
[CI:DOCS] rootless_tutorial: Remove incorrect advice regarding volumeā€¦
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/rootless_tutorial.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/rootless_tutorial.md b/docs/tutorials/rootless_tutorial.md
index 981916806..d9cf68a20 100644
--- a/docs/tutorials/rootless_tutorial.md
+++ b/docs/tutorials/rootless_tutorial.md
@@ -186,10 +186,10 @@ We do recognize that this doesn't really match how many people intend to use roo
It is also helpful to distinguish between running Podman as a rootless user, and a container which is built to run rootless. If the container you're trying to run has a `USER` which is not root, then when mounting volumes you **must** use `--userns=keep-id`. This is because the container user would not be able to become `root` and access the mounted volumes.
-Other considerations in regards to volumes:
+Another consideration in regards to volumes:
-- You should always give the full path to the volume you'd like to mount
-- The mount point must exist in the container
+- When providing the path of a directory you'd like to bind-mount, the path needs to be provided as an absolute path
+ or a relative path that starts with `.` (a dot), otherwise the string will be interpreted as the name of a named volume.
## More information