Docker container disaster recovery

I’m trying to run a service that does cron tasks using celery and it is very critical for our business. That certain container that runs the celery sometimes exits unexpectedly and I’m not being notified of the exit as well.

I have two questions:

  • How to pass Chef data bag secret to a docker container?
  • How to mix several python scripts into a shell script?
  • How can I access the Kubernetes service through ClusterIP
  • Problems when executing services within cron in a Docker container?
  • Equivalent of using a ssh tunnel
  • Gui application in docker. What about drivers?
    • How can I be notified via e-mail if one of my container exits?
    • How to do a disaster recovery for example if that container exits or stops another container will start and continue the process of that exited container

  • Docker in a Parallels' Virtual Windows 10 Pro Machine
  • how do I resolve docker issues with ice login?
  • Docker swarm mode API authetication
  • .ebextensions with Docker on elasticbeanstalk
  • Passing custom field from flask to celery worker
  • What is Docker URL
  • One Solution collect form web for “Docker container disaster recovery”

    you can start the docker container with the parameter:


    for example:

    docker run --restart="always" <IMAGE>

    for your first Q i would suggest to look into that link:

    How to programmatically monitor if a docker container exited?

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.