Skip to content

Commit

Permalink
Merge pull request containers#16164 from edsantiago/docs_dedup_accumu…
Browse files Browse the repository at this point in the history
…lated_cleanup

[CI:DOCS] Man pages: refactor common options (misc)
  • Loading branch information
rhatdan authored Oct 13, 2022
2 parents 24b586e + 8c76738 commit 0571001
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions docs/source/markdown/options/creds.md
Original file line number Diff line number Diff line change
@@ -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.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/source/markdown/options/publish-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/markdown/options/shm-size.md
Original file line number Diff line number Diff line change
@@ -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**.
8 changes: 5 additions & 3 deletions docs/source/markdown/options/tls-verify.md
Original file line number Diff line number Diff line change
@@ -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)**
14 changes: 7 additions & 7 deletions docs/source/markdown/options/volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ This option conflicts with **--add-host**.

@@option personality

@@option pid
@@option pid.container

@@option pidfile

Expand Down
2 changes: 1 addition & 1 deletion docs/source/markdown/podman-run.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0571001

Please sign in to comment.