Last Updated: February 25, 2016
· stephanep

Remove all docker images/containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)

1 Response
Add your response

you can use -f flag with rm to stop and remove. If you want to remove then maybe don't care about SIGKILL.

over 1 year ago ·