I am fine with services. I am also fine with larger applications under duress. I think the format still makes operations lives easier. Containerize everything, is better than some things...
If you don't use one of those, you can still have supervisor run outside of your containers, and manage a set of "docker run" commands.
Not sure if I understand correctly. I'm using ECS. How would you provision the Host with supervisord (automatedly)? ECS and the other systems are taking care of restarting the containers anyway, but they don't necessarily have any logic attached (like restart it 5 times, then stop and notifify if the container doesn't come up again).
From my POV it's definitely better to directly have it deployed within the container. Maybe it's depending on the use case.
The problem is that it often happens that the container cannot restart because the main process (invoked by ENTRYPOINT or CMD) cannot start up anymore, e.g. because of corrupted (config) data which has to be loaded on startup or other suddenly unsatisfied dependencies.
Restart policies are a thing since 1.2 https://docs.docker.com/engine/reference/run/#restart-polici...
https://github.com/projectatomic/oci-register-machine
and
https://github.com/projectatomic/oci-systemd-hook
Also, ping Dan Walsh as he is leading work on our (Red Hat) end to get this working.
I sent email to Dan.