Skip to content

Instantly share code, notes, and snippets.

@jericrealubit
Last active April 19, 2018 04:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jericrealubit/133efd34f4c86a9979b83e1379b549aa to your computer and use it in GitHub Desktop.
Save jericrealubit/133efd34f4c86a9979b83e1379b549aa to your computer and use it in GitHub Desktop.
docker system cleanup
#!/bin/bash
#check disk space
df -h
#check dangling volume
docker volume ls -qf dangling=true
docker system prune -a --volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment