在win10上不启用hyper-v的情况下使用docker

admin 2020-6-10 13528


I was using docker for windows for a while but it's network adapters doesn't work well for me. causes DNS problems and ....

So I tried to use Docker without hyper-v and came up with this idea of using docker with vmware workstation.


This is how to setup a simple environment:


1、Install VMware Workstation


2、Download Docker binaries from 

https://download.docker.com/win/


3、Download Docker machine binaries from 

https://github.com/docker/machine/releases


4、Download Docker Machine Vmware Workstation driver form 

https://github.com/pecigonzalo/docker-machine-vmwareworkstation/releases


5、Extract & Move downloaded files to a directory in your path


6、Execute 

docker-machine create --driver=vmwareworkstation dev 

in cmd to create a machine


7、Execute 

docker-machine env dev > dockerdev.bat 

in cmd to create a batch file called dockerdev.bat and copy/move it to your path


8、Execute the batch file created in step 7 (dockerdev)


9、Use docker as usual


最新回复 (0)
返回