Hello,
Occasionally our mindLAMP server goes does, and starts working again after I run:
sudo service docker restart
Is it possible to set up some auto command for Docker such that the mindLAMP services/containers are automatically restarted should they fail?
Thanks, Simon
@simonjd If you’re using Docker Swarm (not Docker Compose!) this behavior should be automatic. In fact, you can add additional placement parameters to control this behavior further:
... deploy: mode: replicated update_config: order: start-first failure_action: rollback ...
Please check that your Docker Swarm setup is working as expected!