Skip to content

Instantly share code, notes, and snippets.

@lanekatris
Created April 16, 2019 17:23
Show Gist options
  • Save lanekatris/dabbadeb18b73e77c71697a4eb25810c to your computer and use it in GitHub Desktop.
Save lanekatris/dabbadeb18b73e77c71697a4eb25810c to your computer and use it in GitHub Desktop.
Cleanup Docker Space
# Courtesy of https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device
docker volume rm $(docker volume ls -qf dangling=true)
docker volume ls -qf dangling=true
docker rmi $(docker images | grep '^<none>' | awk '{print $3}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment