Sign inSign up

gdunstone/cron-delete

By gdunstone

Updated almost 7 years ago

cron deleter

Image
0

1.8K

gdunstone/cron-delete repository overview

cron-delete

Build Status

now with 100% more multiarch support!

deletes oldest files once a directory has reached a maximum size

Instructions:
  • 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

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

almost 7 years ago

docker pull gdunstone/cron-delete