A simple one-liner to stop all the containers and then remove them
docker rm -f $(docker ps -a -q)
And similar for all images:
docker rmi $(docker images -q)
Print | posted on Friday, October 7, 2016 12:52 PM |
Powered by:
Copyright © ChrisD