I’m using CoreOS as the base operating system for a simple Rancher cluster – one Rancher server and one container host.
CoreOS reboots on its own after receiving updates, which is great from the security point of view but a little frustrating from my side, as the Rancher stacks all fall down and the server itself is unreachable.
My server is provisioned with Docker Compose. I suspect that after CoreOS reboots, only some of the containers come up. When I ssh into the server and run
docker-compose down followed by
docker-compose -f docker-compose.yml -f production.yml up -d everything works its way back up. Eventually.
Is anyone else using CoreOS in this way? If so, is there a better way to do what I’m trying to do? I’m a happy DO customer so I am trying to use the lightest-weight operating system that comes as a stock offering on DO. Thanks in advance for any help!