Any way to "Containerize" an existing environment

Hi all,

I’ve got a production virtual machine (created on VMWare/vSphere) which is Ubuntu (version 16.04.2 LTS). It has a working PHP web application on it but I would like to know if this can somehow be ‘imaged’ / ported to Docker? Is there such a facility or would I have had to start development in a Docker container from day 1?

Thanks
Charles

Check if these will help(https://github.com/docker/communitytools-image2docker-linux, https://github.com/docker/communitytools-image2docker-win). This might help for some common VM images.

Hi All

I am also in the same situation. Want to containerize my environment which already built. It’s hosted on VM which is Amazon Linux. it is Java based web application. Please provide a feedback.