Command
docker ps
Explanation
Shows container status. The -a flag displays all containers, not just running ones.
Examples
List running containers
docker ps
List all containers (including stopped)
docker ps -a
docker ps
Shows container status. The -a flag displays all containers, not just running ones.
List running containers
docker ps
List all containers (including stopped)
docker ps -a