title: Adding cron to a Docker image
body: <p>I created a Docker container from the python image to host a Django project. Now I'd like to run some cron jobs to update data in the Django project.</p>
  
  <p>However, since I created it using the <a href="https://hub.docker.com/_/python/" rel="nofollow noreferrer">python</a> image, cron isn't available.</p>
  
  <p>I'm still new to Docker, so I'm not sure what the easiest route is. Should I try to add cron functionality to the python image, or should I switch to a more general image, like <a href="https://hub.docker.com/_/ubuntu/" rel="nofollow noreferrer">Ubuntu</a>, which will allow me to issue the standard <code>apt install cron</code> command?</p>
  
  <p>I see there's also <a href="https://hub.docker.com/r/prima/cron/" rel="nofollow noreferrer">cron</a> and <a href="https://hub.docker.com/r/willfarrell/crontab/" rel="nofollow noreferrer">crontab</a> images as well. Does Docker support overlaying multiple images, say python+crontab, or would it be easier to just use Ubuntu?</p>