mirror of
https://github.com/containers/podman.git
synced 2025-06-03 03:07:56 +08:00

Remove all will, would, could, should and use present tense. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
17 lines
764 B
Markdown
17 lines
764 B
Markdown
####> This option file is used in:
|
|
####> podman create, run
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--publish-all**, **-P**
|
|
|
|
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.
|
|
If the operator uses **-P** (or **-p**) then Podman makes the
|
|
exposed port accessible on the host and the ports are available to any
|
|
client that can reach the host.
|
|
|
|
When using this option, Podman binds any exposed port to a random port on the host
|
|
within an ephemeral port range defined by */proc/sys/net/ipv4/ip_local_port_range*.
|
|
To find the mapping between the host ports and the exposed ports, use **podman port**.
|