How can I create a docker image from the current system?

234 views Asked by At

I want to create a Docker image after I SSH into the VM and download/config the project. Due to the nature of the project I cannot do this in the config file, it must be done by "freezing" the current system into an image.

Is this possible?

1

There are 1 answers

1
Sabin On BEST ANSWER

You can SSH into the Container, make changes and then you can commit the container, which will save your changes to an image. You can now push this image to registry.
Unless you are using a data container, all your changes are saved.