/docker-cron-example

Example of a Docker running a cron

Primary LanguagePythonMIT LicenseMIT

Docker cron

Example of a crontab runing in docker.

You need docker installed and the daemon running.

You can run it using

$ docker build -t cron-example .

$ docker run -v /path/to/cron_docker/logs:/var/log cron-example

And check the logs.

From stackoverflow.