CentOS-Cron-Docker icon indicating copy to clipboard operation
CentOS-Cron-Docker copied to clipboard

Cron in a CentOS Docker Container

Docker

This is a simple Docker file that shows how to run crond inside a CentOS docker container.

Add a file with your cron jobs (for example my file is cron) which will be copied inside the container.

The steps can be applied to run cron in any CentOS docker container