Conversation
|
As just an interested party, I would vote against this addition.
|
|
This PR implements the respawn in a minimalistic way, and it is a great solution for container-applications that need to be able to restart internally, without also stopping the container. |
|
for those who interested in this functionality, check https://github.com/gorilych/restarter |
* add `-R {A|F}` option to emulate `docker --restart always/on-failure` behavior
|
With this PR, a |
-R {A|F}option to emulatedocker --restart always/on-failurebehaviorREASON FOR CHANGE:
The tini-based container could be run via non-docker container runtime (e.g. containerd, cri-o or raw runC), which may not support the "xxx --restart always/on-failure" behavior.
This change adds the restarts capability straight into the
tinicode.