Skip to content

Instantly share code, notes, and snippets.

@brunneis
Created February 12, 2018 11:26
Show Gist options
  • Save brunneis/bffb1e0fe65f98202e0ae1098125ca1c to your computer and use it in GitHub Desktop.
Save brunneis/bffb1e0fe65f98202e0ae1098125ca1c to your computer and use it in GitHub Desktop.
Remove dangling Docker volumes
#!/bin/bash
docker volume rm $(docker volume ls -q -f dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment