Container lifecycleDocker
docker ps
docker ps
docker container ls
List running containers with useful metadata.
Command
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"
Example usage
View running or stopped container names, statuses, and images.
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"
docker container ls --all
Related tags
Container lifecycledocker container lscontainersimagescompose