Running cron in Docker the Easy Way
There are some situations where you just need to run a simple single command cronjob. This is where the
alpineDocker image comes in very handy. It comes with a simple yet flexible
cron package via
For very simple stuff, a single command using the default
For more complex crontabs, mount a crontab file!
Compiled Docker Image
Compiling your own image with an entrypoint makes it cleaner to run.