powerman / dockerize

Utility to simplify running applications in docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider adding -exec flag to replace dockerize process with given command

powerman opened this issue · comments

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.

Implemented in v0.18.0, except -exec option is not compatible with -tail to keep it simple.