blob: 6651599a0b7a23514783da5b0c323849b90ef278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#### **--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. The
default is **false**. 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.
When using this option, Podman will bind 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**.
|