Docker Community Forums

Share and learn in the Docker community.

How can i transform a vmdk (vmware) to a docker image?

(Antenoy) #1

Hi Everyone,

I would like to know how to transform a vmdk in docker image ?

I need to properly form a dockerfile.


(Sabin Basyal) #2

Hi Youri,

You cannot easily transform the vmdk into a docker image. The easiest way is by creating one, using the Dockerfile and commands that you used in your vmware instance. The best bet is to do history in your vmware instance and use those commands as instructions in Dockerfile.


(Andy Rothfusz) #3

Actually, you might be able to use the VMDK to create a base image if you can extract the contents as a tarball, but there are no tools to automate this for you. You’d just be treating the VMDK like any other Linux file system.