Re: Docker container stops on a Jenkins restart?

2023-01-01 Thread zil...@gmail.com
Thanks Mark! Chris On Sunday, January 1, 2023 at 2:23:32 PM UTC-5 Mark Waite wrote: > https://www.jenkins.io/blog/2022/05/27/docker-image-new-lifecycle/ says > that beginning with Jenkins 2.332.3 the docker container lifecycle has > changed. > > add the flag --restart=on-failure >

Re: Docker container stops on a Jenkins restart?

2023-01-01 Thread Mark Waite
https://www.jenkins.io/blog/2022/05/27/docker-image-new-lifecycle/ says that beginning with Jenkins 2.332.3 the docker container lifecycle has changed. add the flag --restart=on-failure to the docker run <…​>

Re: Docker container stops on a Jenkins restart?

2023-01-01 Thread Christoph Schulz
On Sun, 2023-01-01 at 10:21 -0800, zil...@gmail.com wrote: > I used to not have this issue with the older Jenkins version that > this installation replaced. Do you know the old version? That would make investigation easier. :) > I updated to Jenkins v2.346.3 and I start it as a Docker

Docker container stops on a Jenkins restart?

2023-01-01 Thread zil...@gmail.com
I used to not have this issue with the older Jenkins version that this installation replaced. I updated to Jenkins v2.346.3 and I start it as a Docker container like this $ docker run --rm -d -p 8080:8080 -v /mnt/jenkins_master/jenkins_home:/var/jenkins_home --name jenkins_master