mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
man pages: sort flags, and keep them that way
Command flags (OPTIONS) in man pages have to date been in haphazard order. Sometimes that order is sensible, e.g., most-important options first, but more often they're just in arbitrary places. This makes life hard for users. Here, I update the man-page-check Makefile script so it checks and enforces alphabetical order in OPTIONS sections. Then -- the hard part -- update all existing man pages to conform to this requirement. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -75,21 +75,6 @@ Set custom DNS search domains in the /etc/resolv.conf file that will be shared b
|
||||
|
||||
GID map for the user namespace. Using this flag will run the container with user namespace enabled. It conflicts with the `--userns` and `--subgidname` flags.
|
||||
|
||||
#### **--uidmap**=*container_uid*:*from_uid*:*amount*
|
||||
|
||||
Run the container in a new user namespace using the supplied mapping. This
|
||||
option conflicts with the **--userns** and **--subuidname** options. This
|
||||
option provides a way to map host UIDs to container UIDs. It can be passed
|
||||
several times to map different ranges.
|
||||
|
||||
#### **--subgidname**=*name*
|
||||
|
||||
Name for GID map from the `/etc/subgid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--gidmap`.
|
||||
|
||||
#### **--subuidname**=*name*
|
||||
|
||||
Name for UID map from the `/etc/subuid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--uidmap`.
|
||||
|
||||
#### **--help**, **-h**
|
||||
|
||||
Print usage statement.
|
||||
@ -102,14 +87,14 @@ Set a hostname to the pod
|
||||
|
||||
Create an infra container and associate it with the pod. An infra container is a lightweight container used to coordinate the shared kernel namespace of a pod. Default: true.
|
||||
|
||||
#### **--infra-conmon-pidfile**=*file*
|
||||
|
||||
Write the pid of the infra container's **conmon** process to a file. As **conmon** runs in a separate process than Podman, this is necessary when using systemd to manage Podman containers and pods.
|
||||
|
||||
#### **--infra-command**=*command*
|
||||
|
||||
The command that will be run to start the infra container. Default: "/pause".
|
||||
|
||||
#### **--infra-conmon-pidfile**=*file*
|
||||
|
||||
Write the pid of the infra container's **conmon** process to a file. As **conmon** runs in a separate process than Podman, this is necessary when using systemd to manage Podman containers and pods.
|
||||
|
||||
#### **--infra-image**=*image*
|
||||
|
||||
The custom image that will be used for the infra container. Unless specified, Podman builds a custom local image which does not require pulling down an image.
|
||||
@ -282,6 +267,14 @@ This boolean determines whether or not all containers entering the pod will use
|
||||
|
||||
Note: This options conflict with **--share=cgroup** since that would set the pod as the cgroup parent but enter the container into the same cgroupNS as the infra container.
|
||||
|
||||
#### **--subgidname**=*name*
|
||||
|
||||
Name for GID map from the `/etc/subgid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--gidmap`.
|
||||
|
||||
#### **--subuidname**=*name*
|
||||
|
||||
Name for UID map from the `/etc/subuid` file. Using this flag will run the container with user namespace enabled. This flag conflicts with `--userns` and `--uidmap`.
|
||||
|
||||
#### **--sysctl**=_name_=_value_
|
||||
|
||||
Configure namespace kernel parameters for all containers in the pod.
|
||||
@ -304,6 +297,13 @@ For the network namespace, only sysctls beginning with net.\* are allowed.
|
||||
|
||||
Note: if the network namespace is not shared within the pod, these sysctls are not allowed.
|
||||
|
||||
#### **--uidmap**=*container_uid*:*from_uid*:*amount*
|
||||
|
||||
Run the container in a new user namespace using the supplied mapping. This
|
||||
option conflicts with the **--userns** and **--subuidname** options. This
|
||||
option provides a way to map host UIDs to container UIDs. It can be passed
|
||||
several times to map different ranges.
|
||||
|
||||
#### **--userns**=*mode*
|
||||
|
||||
Set the user namespace mode for all the containers in a pod. It defaults to the **PODMAN_USERNS** environment variable. An empty value ("") means user namespaces are disabled.
|
||||
|
Reference in New Issue
Block a user