I use some instances of container with hypnotoad. at some forums read a recommendation to use bash script to run your app and have a hook to stop process when stop container event received - google docker zombie process problem. now I hardly worked to deploy universal script to git project -> docker image & running instances
четверг, 29 января 2015 г., 16:10:37 UTC+2 пользователь Alexander Karelas написал: > As far as I know, docker containers require their processes to be > foreground processes, so that a TERM signal is sent to them gracefully > when docker is shutting down (because the host server itself might be > shutting down). > > However if I run: > > hypnotoad -f app.pl > > ...then, when I try to do "hot deployment" (by running hypnotoad -f > app.pl again), the new hypnotoad process is not a foreground one anymore. > > How do we solve this problem? > > Should I forget about "hot deployment" when working in Docker containers? > > Thanks, > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
