Good point. There's no mechanism currently applied to the container. But I think we can simply add --restart=always in docker run, which always brings up containers when docker daemon starts. I guess I should add this in our wiki doc.
2016-01-12 17:52 GMT+08:00 Olaf Flebbe <[email protected]>: > How is the jenkins docker container started ? I see no cron / init.d for > it. > > Olaf > > > > Am 12.01.2016 um 02:05 schrieb Evans Ye <[email protected]>: > > > > Nothing lost since everything is stored under jenkins home, and it's a > > volume for jenkins container that actually stores data on ec2, > specifially, > > an ebs volume. > > 2016/1/12 上午5:54 於 "Olaf Flebbe" <[email protected]> 寫道: > > > >> Hi, > >> > >>> Am 11.01.2016 um 18:54 schrieb Evans Ye <[email protected]>: > >>> > >>> I just found those deprecated CI jobs has been cleaned up. > >> > >> Yep, that was me. It was tricky to do this efficiently. > >> > >>> > >>> Anyway thanks for doing this, it looks so neat! > >>> > >> > >> Evans, I didn't have a detailed look at the Docker Config of Jenkins > >> itself : > >> Is the configuration of the jenkins container persistent if the > container > >> goes down somehow? > >> What is lost if the master hosting this container is rebooted? > >> > >> Olaf > >> > >
