summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-run.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-04 10:20:38 +0200
committerGitHub <noreply@github.com>2020-08-04 10:20:38 +0200
commit1ed1e583a06288bb2f3058f7d4dff7650af5f3bd (patch)
treee4726cd3209526a9817c495a3765e7a5e706f494 /docs/source/markdown/podman-run.1.md
parent1709335cf04e947117d4ae4dca72f24f4095511b (diff)
parent7bedff96356eb1a4c14a0c86b41a70a8d4f41950 (diff)
downloadpodman-1ed1e583a06288bb2f3058f7d4dff7650af5f3bd.tar.gz
podman-1ed1e583a06288bb2f3058f7d4dff7650af5f3bd.tar.bz2
podman-1ed1e583a06288bb2f3058f7d4dff7650af5f3bd.zip
Merge pull request #7201 from mheon/0000_is_empty
Do not set host IP on ports when 0.0.0.0 requested
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r--docs/source/markdown/podman-run.1.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md
index 4fdb7f81b..eaeb7dbdb 100644
--- a/docs/source/markdown/podman-run.1.md
+++ b/docs/source/markdown/podman-run.1.md
@@ -647,6 +647,8 @@ Both hostPort and containerPort can be specified as a range of ports.
When specifying ranges for both, the number of container ports in the range must match the number of host ports in the range.
+If host IP is set to 0.0.0.0 or not set at all, the port will be bound on all IPs on the host.
+
Host port does not have to be specified (e.g. `podman run -p 127.0.0.1::80`).
If it is not, the container port will be randomly assigned a port on the host.