brainstormflash
7/4/2017 - 8:28 AM

useful docker commands

useful docker commands

Delete all running containers (including hidden)

docker ps -a | awk '{print $1}' | xargs docker rm

Delete all “dangling” images (none)

docker rmi -f $( docker images -f "dangling=true" -q)

new command

docker system purge