j7274g
Last Updated: February 25, 2016
·
830
· stephanep
A486c31326dffba0cde8bade19108dc2

Remove all docker images/containers

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

1 Response
Add your response

17176
Img 20150424 132017

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 ·