summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-run.1.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-07-16 12:31:11 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-07-16 22:37:28 +0200
commitd35d8125bf0be2add82003de1a4b89a0594bb9a0 (patch)
treef16d0df1279a0dba59fb3fbf690e2c87aa4ba3b3 /docs/source/markdown/podman-run.1.md
parent7722b582b4f09df64fb55e3ab9669392754ce75c (diff)
downloadpodman-d35d8125bf0be2add82003de1a4b89a0594bb9a0.tar.gz
podman-d35d8125bf0be2add82003de1a4b89a0594bb9a0.tar.bz2
podman-d35d8125bf0be2add82003de1a4b89a0594bb9a0.zip
docs: document the new slirp4netns options
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r--docs/source/markdown/podman-run.1.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md
index 54c497ba2..1083bff3e 100644
--- a/docs/source/markdown/podman-run.1.md
+++ b/docs/source/markdown/podman-run.1.md
@@ -561,7 +561,10 @@ Valid _mode_ values are:
- _network-id_: connect to a user-defined network, multiple networks should be comma separated;
- **ns:**_path_: path to a network namespace to join;
- `private`: create a new namespace for the container (default)
-- **slirp4netns**: use **slirp4netns**(1) to create a user network stack. This is the default for rootless containers.
+- **slirp4netns[:OPTIONS,...]**: use **slirp4netns**(1) to create a user network stack. This is the default for rootless containers. It is possible to specify these additional options:
+ **port_handler=rootlesskit**: Use rootlesskit for port forwarding. Default.
+ **port_handler=slirp4netns**: Use the slirp4netns port forwarding.
+ **allow_host_loopback=true|false**: Allow the slirp4netns to reach the host loopback IP (`10.0.2.2`). Default to false.
**--network-alias**=*alias*