Replies: 1 comment
-
A place where we actually used this internally is in our own host system containers. gunicorn was running through a bash entrypoint script and thus was always 10 seconds to shut down. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Docker introduced a feature a bit ago that actually does not set the ENTRYPOINT process as PID 1, but an actual classic
init
process.Thea advantage of this is that actual signals can be sent to the container.
ATM we do not use this feature really, but it might be the case that container providers are expecting this, because their containers need for instance a graceful shutdown with SIGTERM.
Having this here for backlog. If you need this feature, please comment and upvote!
Source: https://stackoverflow.com/questions/43122080/how-to-use-init-parameter-in-docker-run
Beta Was this translation helpful? Give feedback.
All reactions