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

I want to build a Docker image after SSH into a VM and upload / configure a 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 it possible?

+3


source to share


1 answer


You can SSH into a container, make changes, and then commit to the container, which will save your changes to the image. Now you can insert this image into the registry.
If you are not using a data container, all your changes will be saved.



0


source







All Articles