Tuesday, November 20, 2018

Create a new image from running container

Let's say I have a oracle database container created from an image sath89/oracle-12c

Now, to run it as background container as in the below post.

Connect to docker background running container

Now, if I want I can do any changes to the container.

After my changes, I can create a new image from it using the command.

docker commit hw_container hw_image

Reference


No comments:

Post a Comment