Skip to content

Instantly share code, notes, and snippets.

@ksatirli
Created September 18, 2017 10:59
Show Gist options
  • Save ksatirli/53d6a92c6c612c357cbd4882aa934e18 to your computer and use it in GitHub Desktop.
Save ksatirli/53d6a92c6c612c357cbd4882aa934e18 to your computer and use it in GitHub Desktop.
Docker: clean up (dangling) volumes
#!/bin/sh
docker volume ls -qf dangling=true | xargs -r docker volume rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment