Akagi201
11/24/2016 - 3:33 AM

docker-ops.md

stop all containers:

docker kill $(docker ps -q)

remove all containers

docker rm $(docker ps -a -q)

remove all docker images

docker rmi $(docker images -q)

remove all docker volumes

docker volume ls -qf dangling=true | xargs -r docker volume rm