Open pokle opened 10 years ago
Do you think it's a good idea to import the Phusion my_init script that properly handles process #1?
https://github.com/phusion/baseimage-docker/blob/master/image/my_init
That's a good idea. Have a go at converting it to CentOS and send me a pull request if you can get it working :)
This is because runit doesn't respond to the TERM signal that docker sends the leading process. docker eventually times out, and sends a KILL that does the job.