diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-18 20:44:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 20:44:11 +0200 |
commit | c3c902f8316190cf35617f3991c06c6d78f3aff7 (patch) | |
tree | a0dffaf6b1eb0354c3f650e309ad62aa3096e0ab /docs/source/markdown/podman-run.1.md | |
parent | c1fef2af3ec84b2d9cb27bf3cad9f8414552a3a9 (diff) | |
parent | 02e0d4ab38c239c8d22445dd360d3d177b78e73d (diff) | |
download | podman-c3c902f8316190cf35617f3991c06c6d78f3aff7.tar.gz podman-c3c902f8316190cf35617f3991c06c6d78f3aff7.tar.bz2 podman-c3c902f8316190cf35617f3991c06c6d78f3aff7.zip |
Merge pull request #7352 from Luap99/uts-pod
fix podman create/run UTS NS docs
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r-- | docs/source/markdown/podman-run.1.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index ef78e15e3..b6c1fab17 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -358,7 +358,7 @@ Print usage statement Container host name -Sets the container host name that is available inside the container. +Sets the container host name that is available inside the container. Can only be used with a private UTS namespace `--uts=private` (default). If `--pod` is specified and the pod shares the UTS namespace (default) the pods hostname will be used. **--http-proxy**=**true**|**false** @@ -938,10 +938,9 @@ This option is incompatible with **--gidmap**, **--uidmap**, **--subuid** and ** Set the UTS namespace mode for the container. The following values are supported: - **host**: use the host's UTS namespace inside the container. -- **private**: create a new namespace for the container (default) -- **ns**: use own UTS namespace. - -**NOTE**: the host mode gives the container access to changing the host's hostname and is therefore considered insecure. +- **private**: create a new namespace for the container (default). +- **ns:[path]**: run the container in the given existing UTS namespace. +- **container:[container]**: join the UTS namespace of the specified container. **--volume**, **-v**[=[[_source-volume_|_host-dir_:]_container-dir_[:_options_]]] |