mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Fix language. Mostly spelling a -> an
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@ -13,7 +13,7 @@ Unmounts the specified images' root file system, if no other processes
|
||||
are using it.
|
||||
|
||||
Image storage increments a mount counter each time an image is mounted.
|
||||
When a image is unmounted, the mount counter is decremented, and the
|
||||
When an image is unmounted, the mount counter is decremented, and the
|
||||
image's root filesystem is physically unmounted only when the mount
|
||||
counter reaches zero indicating no other processes are using the mount.
|
||||
An unmount can be forced with the --force flag.
|
||||
|
@ -62,7 +62,7 @@ You can see the driver in the **podman network inspect** output under the `ipam_
|
||||
|
||||
#### **--ipv6**
|
||||
|
||||
Enable IPv6 (Dual Stack) networking. If not subnets are given it will allocate a ipv4 and ipv6 subnet.
|
||||
Enable IPv6 (Dual Stack) networking. If not subnets are given it will allocate an ipv4 and an ipv6 subnet.
|
||||
|
||||
#### **--label**
|
||||
|
||||
|
@ -577,15 +577,15 @@ $ podman run -v data:/data2 -i -t fedora bash
|
||||
$ podman run -v /var/cache/dnf:/var/cache/dnf:O -ti fedora dnf -y update
|
||||
```
|
||||
|
||||
If the container needs a writeable mounted volume by a non root user inside the container, use the **U** option. This options tells Podman to chown the source volume to match the default UID and GID used within the container.
|
||||
If the container needs a writeable mounted volume by a non root user inside the container, use the **U** option. This option tells Podman to chown the source volume to match the default UID and GID used within the container.
|
||||
```
|
||||
$ podman run -d -e MYSQL_ROOT_PASSWORD=root --user mysql --userns=keep-id -v ~/data:/var/lib/mysql:z,U mariadb
|
||||
```
|
||||
|
||||
Alternativley if the container needs a writable volume by a non root
|
||||
Alternatively if the container needs a writable volume by a non root
|
||||
user inside of the container, the --userns=keep-id option allows users to
|
||||
specify the UID and GID of the user executing Podman to specific UIDs and GIDs
|
||||
within the container. Since the processes running in the container run as the users UID, they can read/write files owned by the user.
|
||||
within the container. Since the processes running in the container run as the user's UID, they can read/write files owned by the user.
|
||||
```
|
||||
$ podman run -d -e MYSQL_ROOT_PASSWORD=root --user mysql --userns=keep-id:uid=999,gid=999 -v ~/data:/var/lib/mysql:z mariadb
|
||||
```
|
||||
|
Reference in New Issue
Block a user