Can on premises servers image be used as docker image.?


I have been working with docker from few days. Its really a good experience. As a part of my new assignment I been installing and creating an environment similar to on premises server, which seems to be very complicated. Is there any way that I can somehow take a image of the server and use it as docker image?

If at all its Yes? Please be kind enough to explain how?

Eagerly waiting
Sampada Jain


Yes, you can work with docker-compose, it’s really good to manage your containers, or just run: “docker pull mysql”, “docker pull mongo”, “docker pull php”, you can also do a search “docker search php7” , etc …

Example of how you can use docker with Dockerfile