List Docker Containers

List running containers; add -a to include stopped ones.

Lists all running containers by default; -a includes stopped containers. Shows container ID, image, status, ports, and name. The quickest way to see what is running.

When you need this: To see what containers are running and check their status and port mappings.

Command


        
9 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.