Consider adding -exec flag to replace dockerize process with given command
powerman opened this issue · comments
Alex Efros commented
This should let us run command as PID1 and/or avoid subtle issues related to signal forwarding, running command under supervision, etc.
In case dockerize needs to both run given command and tail logs it'll have to run tail in child process and configure it to exit when it parent process (command) will exit.
Alex Efros commented
Implemented in v0.18.0, except -exec
option is not compatible with -tail
to keep it simple.