diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-28 03:28:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 03:28:18 -0800 |
commit | 9d30e9f2b6905d02e6abb155e606162424f3d8a5 (patch) | |
tree | 669da3b1269e7a022e2d797d0e333e3abc722a30 /docs/source/markdown/podman-run.1.md | |
parent | 326cdf944daae40ec83decf38ed1477e806cd846 (diff) | |
parent | 2557cdb4b2f9c6151acd786fc108649b76e2bb18 (diff) | |
download | podman-9d30e9f2b6905d02e6abb155e606162424f3d8a5.tar.gz podman-9d30e9f2b6905d02e6abb155e606162424f3d8a5.tar.bz2 podman-9d30e9f2b6905d02e6abb155e606162424f3d8a5.zip |
Merge pull request #4974 from rhatdan/man
Cleanup man pages exit code descriptions
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r-- | docs/source/markdown/podman-run.1.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index 512a382a6..bf79ea031 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -1022,25 +1022,25 @@ The exit code from `podman run` gives information about why the container failed to run or why it exited. When `podman run` exits with a non-zero code, the exit codes follow the `chroot` standard, see below: -**_125_** if the error is with Podman **_itself_** + **125** The error is with Podman itself $ podman run --foo busybox; echo $? Error: unknown flag: --foo 125 -**_126_** if the **_contained command_** cannot be invoked + **126** The _contained command_ cannot be invoked $ podman run busybox /etc; echo $? Error: container_linux.go:346: starting container process caused "exec: \"/etc\": permission denied": OCI runtime error 126 -**_127_** if the **_contained command_** cannot be found + **127** The _contained command_ cannot be found $ podman run busybox foo; echo $? Error: container_linux.go:346: starting container process caused "exec: \"foo\": executable file not found in $PATH": OCI runtime error 127 -**_Exit code_** of **_contained command_** otherwise + **Exit code** _contained command_ exit code $ podman run busybox /bin/sh -c 'exit 3' 3 |