diff options
author | Erik Sjölund <erik.sjolund@gmail.com> | 2022-07-12 14:00:39 +0200 |
---|---|---|
committer | Erik Sjölund <erik.sjolund@gmail.com> | 2022-07-12 16:32:14 +0200 |
commit | b8a7e275d14e5c0cf993a66e90e4214a5d25ae37 (patch) | |
tree | 237ff44676bb3b05cb4db18a9aeb198af30ebe05 /docs/MANPAGE_SYNTAX.md | |
parent | 4d111fa9af0352d25d4c9ecc7d203f20f5727d09 (diff) | |
download | podman-b8a7e275d14e5c0cf993a66e90e4214a5d25ae37.tar.gz podman-b8a7e275d14e5c0cf993a66e90e4214a5d25ae37.tar.bz2 podman-b8a7e275d14e5c0cf993a66e90e4214a5d25ae37.zip |
[CI:DOCS] rootless_tutorial: Remove incorrect advice regarding volumes and mount points
* Remove the instruction
"The mount point must exist in the container"
as it is incorrect which is shown by this example
```
$ mkdir dir1
$ podman run --rm -v ./dir1:/dir1:Z docker.io/library/fedora:36 touch /dir1/file
$ ls dir1
file
$ podman run --rm docker.io/library/fedora:36 ls -l /dir1
ls: cannot access '/dir1': No such file or directory
$ podman --version
podman version 4.1.1
$
```
* Rewrite the advice "You should always give the full path to the volume you'd like to mount"
so that it also mentions relative paths starting with a dot.
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'docs/MANPAGE_SYNTAX.md')
0 files changed, 0 insertions, 0 deletions