/docker-cron

Primary LanguageDockerfile

Docker Cron

Docker Pulls

Description

This repository is used for building a Docker image containing Cron

Dockerhub

docker pull scalified/cron

Supported build arguments

  • CRONTABS_DIR - the directory where system wide crontab is located (default /etc/crontabs)
  • CRON_STDOUT_FILE - the log file used to output cron's stdout
  • CRON_STDERR_FILE - the log file used to output cron's stderr

Volumes

  • /etc/crontabs, unless CRONTABS_DIR argument overrides it

How-To

Building Docker Image

docker build . -t scalified/cron:<tag>

Running Docker Image

docker run -it scalified/cron /bin/sh

Scalified Links