now with 100% more multiarch support!
deletes oldest files once a directory has reached a maximum size
targets specific directory set by the environment variable WATCH_DIRECTORY
set maximum size with WATCH_DIRECTORY_MAX_SIZE (8G, 1M, 180K)
eg:
docker run -d -v $PWD:/data:rw -e WATCH_DIRECTORY=/data -e WATCH_DIRECTORY_MAX_SIZE=8G gudnstone/cron-delete
Content type
Image
Digest
Size
3.2 MB
Last updated
almost 7 years ago
docker pull gdunstone/cron-delete