Docker commit doesn't make changes to containers union file system Docker commit doesn't make changes to containers union file system jenkins jenkins

Docker commit doesn't make changes to containers union file system


It was my fault for not looking at the docs for the Jenkins docker image

How to use this image

docker run -p 8080:8080 jenkins This will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that a persistent volume:

docker run --name myjenkins -p 8080:8080 -v /var/jenkins_home jenkins The volume for the “myjenkins” named container will then be persistent.

https://registry.hub.docker.com/_/jenkins/