TECHIES WORLD

For Techs.... Techniques.... Technologies....

BashLinux

How to create image from Docker container

We can create image from Docker container through commandline.

docker commit CONTAINER REPOSITORY:TAG

Here we need to replace CONTAINER with the id of the container, REPOSITORY with the repository name and TAG with the required tag.

That's all…