Learning machine learning? Try my machine learning flashcards or Machine Learning with Python Cookbook.
List Containers
List Containers
View all (-a
) containers (docker ps
)
docker ps -a
[sudo] password for chris:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b622067d595e dockerinaction/ch2_agent "/watcher/watcher.sh" 2 minutes ago Up 2 minutes agent
4263374fbc42 busybox:1.29 "/bin/sh" 8 minutes ago Up 8 minutes web_test
fecff8afca16 dockerinaction/ch2_mailer "/mailer/mailer.sh" 11 minutes ago Up 11 minutes 33333/tcp mailer
db1be25177d3 nginx:latest "/docker-entrypoint.…" 21 minutes ago Up 21 minutes 80/tcp www
CONTAINER ID
: ID of the containerIMAGE
: Image used by the containerCOMMAND
: Command executed in the containerCREATED
: When the container was createdSTATUS
: Length of time the container as been runningPORTS
: Port exposed by the containerNAMES
: Name of the container