Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 320 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 320 Bytes

scheduled-docker-system-prune

Runs docker system prune on an interval

How it works

Runs the command docker system prune --all --force via the hosts docker.sock on an interval.

How to use

docker run -d -v /var/run/docker.sock:/var/run/docker.sock -e "DELAY_TIME=1600" scheduled-docker-system-prune