Middle
How to view all containers, including stopped ones?
sobes.tech AI
Answer from AI
To view all Docker containers, including stopped ones, use the command:
docker ps -a
docker psby default shows only running containers.- The
-a(or--all) option displays all containers, including stopped and created ones that are not running.
This is useful for diagnosing and managing containers that are not currently running.