mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Merge pull request #16164 from edsantiago/docs_dedup_accumulated_cleanup
[CI:DOCS] Man pages: refactor common options (misc)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#### **--creds**=*[username[:password]]*
|
||||
|
||||
The [username[:password]] to use to authenticate with the registry if required.
|
||||
The [username[:password]] to use to authenticate with the registry, if required.
|
||||
If one or both values are not supplied, a command line prompt will appear and the
|
||||
value can be entered. The password is entered without echo.
|
||||
value can be entered. The password is entered without echo.
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
Publish all exposed ports to random ports on the host interfaces. The default is **false**.
|
||||
|
||||
When set to **true**, publish all exposed ports to the host interfaces. The
|
||||
default is **false**. If the operator uses **-P** (or **-p**) then Podman will make the
|
||||
When set to **true**, publish all exposed ports to the host interfaces.
|
||||
If the operator uses **-P** (or **-p**) then Podman will make the
|
||||
exposed port accessible on the host and the ports will be available to any
|
||||
client that can reach the host.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#### **--shm-size**=*number[unit]*
|
||||
|
||||
Size of _/dev/shm_. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
If you omit the unit, the system uses bytes. If you omit the size entirely, the default is **64m**.
|
||||
If the unit is omitted, the system uses bytes. If the size is omitted, the default is **64m**.
|
||||
When _size_ is **0**, there is no limit on the amount of memory used for IPC by the <<container|pod>>.
|
||||
This option conflicts with **--ipc=host**.
|
||||
|
@ -1,5 +1,7 @@
|
||||
#### **--tls-verify**
|
||||
|
||||
Require HTTPS and verify certificates when contacting registries (default: true). If explicitly set to true,
|
||||
then TLS verification will be used. If set to false, then TLS verification will not be used. If not specified,
|
||||
TLS verification will be used unless the target registry is listed as an insecure registry in registries.conf.
|
||||
Require HTTPS and verify certificates when contacting registries (default: **true**).
|
||||
If explicitly set to **true**, TLS verification will be used.
|
||||
If set to **false**, TLS verification will not be used.
|
||||
If not specified, TLS verification will be used unless the target registry
|
||||
is listed as an insecure registry in **[containers-registries.conf(5)](https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md)**
|
||||
|
@ -3,8 +3,13 @@
|
||||
Create a bind mount. If `-v /HOST-DIR:/CONTAINER-DIR` is specified, Podman
|
||||
bind mounts `/HOST-DIR` from the host into `/CONTAINER-DIR` in the Podman
|
||||
container. Similarly, `-v SOURCE-VOLUME:/CONTAINER-DIR` will mount the named
|
||||
volume from the host into the container. If no such named volume exists, Podman will
|
||||
create one. (Note when using the remote client, including Mac and Windows (excluding WSL2) machines, the volumes will be mounted from the remote server, not necessarily the client machine.)
|
||||
volume from the host into the container. If no such named volume exists,
|
||||
Podman will create one. If no source is given, the volume will be created
|
||||
as an anonymously named volume with a randomly generated name, and will be
|
||||
removed when the <<container|pod>> is removed via the `--rm` flag or
|
||||
the `podman rm --volumes` command.
|
||||
|
||||
(Note when using the remote client, including Mac and Windows (excluding WSL2) machines, the volumes will be mounted from the remote server, not necessarily the client machine.)
|
||||
|
||||
The _OPTIONS_ is a comma-separated list and can be: <sup>[[1]](#Footnote1)</sup>
|
||||
|
||||
@ -22,11 +27,6 @@ The _OPTIONS_ is a comma-separated list and can be: <sup>[[1]](#Footnote1)</sup>
|
||||
The `CONTAINER-DIR` must be an absolute path such as `/src/docs`. The volume
|
||||
will be mounted into the container at this directory.
|
||||
|
||||
Volumes may specify a source as well, as either a directory on the host
|
||||
or the name of a named volume. If no source is given, the volume will be created as an
|
||||
anonymously named volume with a randomly generated name, and will be removed when
|
||||
the <<container|pod>> is removed via the `--rm` flag or the `podman rm --volumes` command.
|
||||
|
||||
If a volume source is specified, it must be a path on the host or the name of a
|
||||
named volume. Host paths are allowed to be absolute or relative; relative paths
|
||||
are resolved relative to the directory Podman is run in. If the source does not
|
||||
|
@ -259,7 +259,7 @@ This option conflicts with **--add-host**.
|
||||
|
||||
@@option personality
|
||||
|
||||
@@option pid
|
||||
@@option pid.container
|
||||
|
||||
@@option pidfile
|
||||
|
||||
|
@ -281,7 +281,7 @@ This is used to override the Podman provided user setup in favor of entrypoint c
|
||||
|
||||
@@option personality
|
||||
|
||||
@@option pid
|
||||
@@option pid.container
|
||||
|
||||
@@option pidfile
|
||||
|
||||
|
Reference in New Issue
Block a user