Skip to content

Commit d87fed0

Browse files
committed
Update README.md
1 parent 8f1897d commit d87fed0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ You can also visit `https://example.com:9001` to access portainer after starting
138138

139139
#### You could manage docker containers without command line with portainer.
140140

141+
### Show both running and stopped containers
142+
143+
The docker ps command only shows running containers by default. To see all containers, use the -a (or --all) flag:
144+
145+
```
146+
docker ps -a
147+
```
148+
141149
### Starting containers
142150

143151
You can start the containers with the `up` command in daemon mode (by adding `-d` as an argument) or by using the `start` command:

0 commit comments

Comments
 (0)