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)
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)