Skip to content

Commit

Permalink
Correct "ps --no-trunc" example output
Browse files Browse the repository at this point in the history
Signed-off-by: A. Lester Buck III <github-reg@nbolt.com>
(cherry picked from commit 988e379)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
buck authored and thaJeztah committed May 19, 2023
1 parent 405be90 commit beb0330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/commandline/ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Running `docker ps --no-trunc` showing 2 linked containers.
```console
$ docker ps --no-trunc

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4c01db0b339c ubuntu:22.04 bash 17 seconds ago Up 16 seconds 3300-3310/tcp webapp
d7886598dbe2 crosbymichael/redis:latest /redis-server --dir 33 minutes ago Up 33 minutes 6379/tcp redis,webapp/db
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ca5534a51dd04bbcebe9b23ba05f389466cf0c190f1f8f182d7eea92a9671d00 ubuntu:22.04 bash 17 seconds ago Up 16 seconds 3300-3310/tcp webapp
9ca9747b233100676a48cc7806131586213fa5dab86dd1972d6a8732e3a84a4d crosbymichael/redis:latest /redis-server --dir 33 minutes ago Up 33 minutes 6379/tcp redis,webapp/db
```

### <a name="all"></a> Show both running and stopped containers (-a, --all)
Expand Down

0 comments on commit beb0330

Please sign in to comment.