mirror of https://github.com/containers/podman.git
Fix up example description of podman-volume commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
d5a17ad9a0
commit
a0109caa7d
|
@ -19,8 +19,16 @@ returned.
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Mount specified volume. As Root:
|
||||||
```
|
```
|
||||||
podman volume mount foo
|
# podman volume mount foo
|
||||||
|
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
|
||||||
|
```
|
||||||
|
|
||||||
|
In rootless mode, volume mounting only works after executing the podman unshare command to enter the user namespace.
|
||||||
|
```
|
||||||
|
$ podman unshare
|
||||||
|
# podman volume mount foo
|
||||||
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
|
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -19,12 +19,12 @@ counter reaches zero indicating no other processes are using the mount.
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
Unmount volume with a given ID
|
Unmount volume with a given ID:
|
||||||
```
|
```
|
||||||
podman volume unmount volumeID
|
podman volume unmount volumeID
|
||||||
```
|
```
|
||||||
|
|
||||||
Unmount multiple volumes with given IDs
|
Unmount multiple volumes with given IDs:
|
||||||
```
|
```
|
||||||
podman volume unmount volumeID1 volumeID2 volumeID3
|
podman volume unmount volumeID1 volumeID2 volumeID3
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue