Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 384 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 384 Bytes

docker-gc

A cron version of spotify's GC

Run using:

$ docker run -dit -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc jamescookie/docker-gc

The /etc directory is also mapped so that it can read any exclude files (but that is optional)

This will run the garbage collection straight away and then hourly from then on