Backup on Docker

We have installed GitLab CE using Docker from the original GitLab Docker image.
Now we want to set up CRON to perform a daily backup.
Unfortunately the Docker image does not contain CRON.
What to do now? How to perform regular backups?

I presume your “state/data” is outside the docker volume if your using it for production. You can just do a cron there instead of inside docker. Or just apt-get/yum whatever cron into it, or add it as extra from the Dockerfile which was used to create the image. But that might all be just too far fetched.

Thanks a lot. We solved it with external cron. :slight_smile: