j7274g
Last Updated: February 25, 2016
·
845
· 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

17176

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 ·