Public | Automated Build

Last pushed: a month ago
Short Description
Docker garbage collection of containers and images
Full Description


Run spotify/docker-gc as reccuring task.


The docker-gc container requires access to the docker socket in order to function, so you need to map it when running, e.g.:

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock whatwedo/docker-gc

By default, docker-gc runned in a Docker container will run every 1800 seconds (30 minutes). In some cases you might need to change this setting. Set the CLEAN_PERIOD_SECONDS variable to override this default.

Docker Pull Command
Source Repository