Skip to content

Instantly share code, notes, and snippets.

@romach
Last active October 5, 2017 14:34
Show Gist options
  • Select an option

  • Save romach/3aa337906d91b3cf4bd94253768f7778 to your computer and use it in GitHub Desktop.

Select an option

Save romach/3aa337906d91b3cf4bd94253768f7778 to your computer and use it in GitHub Desktop.
Remove unused Docker data
docker rm -v $(docker ps -a -q -f status=exited)
docker rmi $(docker images -f "dangling=true" -q)
docker volume rm $(docker volume ls -qf dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment