DockerCLI/docs/reference
Noah Silas 9d5a2a6b66
docs: Correct `run` exit code 126 description
The command to run inside the container is `/etc`. The semicolon is a
statement terminator, which ends the command `docker run busybox /etc`,
while `echo $?` prints the exit code of that full docker command.

Having this mistake could confuse someone who thinks that `/etc; echo
$?` is all run inside the container, which wouldn't help the reader
understand the exit code of the `docker run` command itself.

Signed-off-by: Noah Silas <noah@hustle.com>
(cherry picked from commit 0c999fe95b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-13 23:37:10 +01:00
..
commandline docs: Link supported Go duration strings 2024-11-13 23:36:58 +01:00
builder.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
dockerd.md docs: dockerd: add documentation for --log-format option 2024-09-16 13:55:17 +02:00
glossary.md docs: remove AuFS from glossary 2023-05-19 10:17:37 +02:00
index.md docs: update url scheme for reference docs 2024-02-20 21:38:50 +01:00
run.md docs: Correct `run` exit code 126 description 2024-11-13 23:37:10 +01:00