itamae/cookbooks/docker/files/etc/cron.d/docker-housekeep

7 lines
127 B
Plaintext

MAILTO=""
DOCKER=/usr/bin/docker
0 13 * * * root ${DOCKER} image prune -f
0 23 * * * root ${DOCKER} container prune -f