EN
How to list all running docker containers?
4 points
In order to list all running docker containers we need to use below command:
xxxxxxxxxx
1
$ docker ps
Output example:
xxxxxxxxxx
1
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2
4c01db0b339c ubuntu:12.04 bash 17 seconds ago Up 16 seconds 3300-3310/tcp webapp
3
d7886598dbe2 crosbymichael/redis:latest /redis-server --dir 33 minutes ago Up 33 minutes 6379/tcp redis,webapp/db