Skip to content

Instantly share code, notes, and snippets.

@shanestillwell
Created March 18, 2016 15:37
Show Gist options
  • Save shanestillwell/67f0caa03628ddf745cc to your computer and use it in GitHub Desktop.
Save shanestillwell/67f0caa03628ddf745cc to your computer and use it in GitHub Desktop.
Clean up docker
#!/bin/bash
docker volume rm $(docker volume ls -q -f dangling=true);
docker rmi $(docker images -f "dangling=true" -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment