Joined August 2014

Zarko Hristovski

Oslo, Norway

Posted to Stop / remove all Docker containers over 1 year ago

Having bookmarked this immensely useful tip a while ago, the two-liner above :) can be now done in one line:
docker rm -f $(docker ps -a -q)

And similar for all images:
docker rmi $(docker images -q)

1 Karma
0 Total ProTip Views