Re:Docker and the PID 1 zombie reaping problem
by dordoka on Wednesday January 21, 2015 @02:07AM
(#8921912)
Care to share your CI tech stack? Specially the deployment bit automagically updating the balancer. We are internally building that kind of setup at the moment and some insight from experienced people like you would be very helpful. Thanks.
[ Parent
| on HN ]
Re:Docker and the PID 1 zombie reaping problem
by koffiezet on Wednesday January 21, 2015 @04:46AM
(#8922307)
CI is Jenkins, which uses the Docker plugin for creating slaves on-the-fly. The plugin has it's share of problems, so I don't use it to build the images itself - I do this using a generalized bash script, which also pushes it to our private repo.
For automatically updating the load-balancer, check out docker-gen (https://github.com/jwilder/docker-gen). I hacked together setup that detects the latest version and points to this-one when a container comes up or goes down. It assumes a lot of things specific to my setup though (versioning of the containers, env vars, ...)