summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-02 14:40:48 +0100
committerGitHub <noreply@github.com>2021-12-02 14:40:48 +0100
commitb41026aec77fc7b74a45560f242be66c25af59a6 (patch)
treecd76cce7bfd771a86d0408ade8047b9d3c0c9abc /docs
parent6b5ecde76ebb177b1ab1dd9e9555fc198ad90858 (diff)
parent3ff47748dea946775b8f4ec8e1c644c2efb3950b (diff)
downloadpodman-b41026aec77fc7b74a45560f242be66c25af59a6.tar.gz
podman-b41026aec77fc7b74a45560f242be66c25af59a6.tar.bz2
podman-b41026aec77fc7b74a45560f242be66c25af59a6.zip
Merge pull request #12469 from Luap99/ns-teardown-flake
Fix possible rootless netns cleanup race
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-unshare.1.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-unshare.1.md b/docs/source/markdown/podman-unshare.1.md
index 5676b1be7..01393a862 100644
--- a/docs/source/markdown/podman-unshare.1.md
+++ b/docs/source/markdown/podman-unshare.1.md
@@ -35,7 +35,6 @@ Print usage statement
Join the rootless network namespace used for CNI and netavark networking. It can be used to
connect to a rootless container via IP address (bridge networking). This is otherwise
not possible from the host network namespace.
-_Note: Using this option with more than one unshare session can have unexpected results._
## Exit Codes
@@ -57,13 +56,13 @@ the exit codes follow the `chroot` standard, see below:
**127** Executing a _contained command_ and the _command_ cannot be found
- $ podman run busybox foo; echo $?
+ $ podman unshare foo; echo $?
Error: fork/exec /usr/bin/bogus: no such file or directory
127
**Exit code** _contained command_ exit code
- $ podman run busybox /bin/sh -c 'exit 3'; echo $?
+ $ podman unshare /bin/sh -c 'exit 3'; echo $?
3
## EXAMPLE