Old way
docker ps
New consistent approach
# list containers
docker container ls
# list images
docker image ls
# list networks
docker network ls
# list volumes
docker volume ls
Stop all running containers
docker stop $(docker ps)
Cleanup containers ≥ v1.13+
docker container prune
Cleanup whole system (network, volumes, etc.)
docker system prune --all