Skip to content

Instantly share code, notes, and snippets.

@zsim0n
Created February 25, 2017 21:41
Show Gist options
  • Save zsim0n/d768976559464ce86e22ebfef6a18850 to your computer and use it in GitHub Desktop.
Save zsim0n/d768976559464ce86e22ebfef6a18850 to your computer and use it in GitHub Desktop.
Docker cleanup for mac
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker volume rm $(docker volume ls |awk '{print $2}')
rm -rf ~/Library/Containers/com.docker.docker/Data/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment