Docker Community Forums

Share and learn in the Docker community.

Docker commit not saving the Jenkins image with the changes

I have docker desktop on windows 10.

Pulled Jenkins/jenkins image (docker pull jenkins/jenkins) and brought up the container.
Configure and installed required plugins and added a Job.

Stopped the running container (docker container stop < container_id>)

Now when I use the Docker commit to create a new image with my changes.
docker commit <container_id> <new_image_name>

The newly created image doesn’t contain the changes and I have no clue how to get this working.

Is there an step I am missing that might help in getting the changes in the new image?