Skip to content

Instantly share code, notes, and snippets.

@keklikhasan
Last active December 5, 2019 10:13
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 keklikhasan/ad45666a0bba1b9caf16693d08708011 to your computer and use it in GitHub Desktop.
Save keklikhasan/ad45666a0bba1b9caf16693d08708011 to your computer and use it in GitHub Desktop.
DEPRECATED clean docker via spotify docker-gc
#!/bin/bash
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc -e REMOVE_VOLUMES=1 spotify/docker-gc
@keklikhasan
Copy link
Author

DEPRECATED look https://github.com/spotify/docker-gc
INACTIVE: Docker garbage collection of containers and images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment