2 ms·
Have you considered stepping back and wondering if you really need orchestration at this scale? Couldn't a simple unit file suffice? If you have many such proj
by falcolas 8y ago
Have you considered stepping back and wondering if you really need orchestration at this scale? Couldn't a simple unit file suffice?
If you have many such projects, perhaps something like Saltstack or Ansible, both of which have support for Docker container management built in.
- ngrilly 8y agoGreat question! I already use Ansible to setup machines and automate deployments. I used systemd unit files until I switched to Docker. I don't use them anymore since dockerd supervises the container itself. I use Docker Compose to describe the set of services composing my app and it's great. But in production, Docker Compose is unable to provide zero-downtime deployments, and this is why I'm looking at Docker Swarm or Kubernetes. systemd unit files are not very useful for Docker containers, and they don't solve the zero-downtime deployment issue.