This issue has been a deal breaker for me as well. I need VMware more than I need Docker for Windows at this point. I do embedded Linux development so I need to run Ubuntu Desktop on VMware in order to drive exotic USB devices (J-Tag debugger, USB to serial adapter, etc.). Maybe I could run Docker for Windows inside a Windows 10 VM running on top of VMware but that seems like a terrible workaround. A button so I can easily turn Hyper-V on or off whenever I want to start or stop Docker for Windows would suffice.
Switching Hyper-V on and off is not very simple.
Also see responses here: https://github.com/docker/for-win/issues/6
Hanselman’s “No Hyper-V” boot menu option is good enough for me. Thanks for the tip!
I have no interest in using VMware or VirtualBox as alternate Docker virtualization backends. Hyper-V is the way to go for containers on Windows as far as I’m concerned.
The absolute worst case running on Windows (any version) is to run Linux in VMware and host your Docker testbed there. This is almost the same as Docker Toolbox except that you get to use VMware Workstation instead of VirtualBox. You can host the docker client (docker.exe) on Windows and point it to the runtime environment.
Truthfully, this may also be the best solution for running on Windows as well.
That is most definitely the better solution. Hyper-V running any non-MS OS is notoriously flaky, and largely unsupported - case in point:
So is there no way to run Docker on Windows together with either HAXM or Genymotion at the same time?
And, one can only run one or the other, and the way to do that is to reboot between Hyper-V and no-Hyper-V?
With Hyper-V being so exclusive https://en.wikipedia.org/wiki/Hyper-V#VT-x_handling I really can’y see how this is the best technology to use for Docker for Windows.
I use docker for Windows at the same time of my VmWare, HAXM, Virtuabox VMs !
I don’t use Hyper-V at all but I install docker using Docker Toolbox that use Virtualbox.
The integration isn’t perfect, but that do the job.
Let’s retell the story.
In the beginning of 2000s Microsoft did not manage to buy VMWare (VMWare was resistant to the “offer”, probably fearing that their innovative ideas would be killed by MS management), so instead MS bought Connectix and started virtualization adventure with Virtual PC (a magnificent piece of cr*p - it could not run a 64-bit OS on a 64-bit OS physical host), which then morphed into Virtual Server (I used it for a few years) and subsequently into Hyper-V, which - finally, growing simultaneously as VMWare products did - became a kind of of a competition for it. Except that MS has been doing the same thing as with IE and other Web browsers - once you enabled HyperV, you couldn’t run VMWare and vice versa. There was a period of time in 2nd part of 2000s when I could run MS Virtual Server and VMWare Workstation side by side on the same Dell server. Not anymore.
As of Nov 30, 2018, the Docker problem on Win 10 with using simultaneously Windows and Linux containers is not resolved.
The worst case (albeit working) is to dual boot from 2 OS boot installation (Windows 10 or Linux), where one allows Windows Containers, and the other allows Linux containers. Assuming your demo/PoC doesn’t require these 2 environments to be connected at the same time.
Frankly, using Docker under Win 10 isn’t making the product any favors, just the opposite. For comparison, MySQL with MySQL Workbench CE on Windows is phenomenal. Docker on Win 10 is an afterthought and treated by the Docker team like an orphan.
It works for me in Workstation, I had to enable virtualization… Settings, processors and check Virtualize Intel VT x/EPT or AMD…
I tried this too but not worked for me
VMware is more important to me that Docker Desktop.
It’s too bad there isn’t a way to leverage a vmware running VM to make docker desktop work vs. hyper-v.
Oh well, uninstalling…
This was an use for me as well. I ended up installing Docker in an Ubuntu 1804 VM. I nor anyone on my team has run into issues running docker like this. We use a container to build our solution and run it. Ironically the container is Centos 7. So I have three layers of OS’s between the code and the HW and haven’t run into issues yet. Not ideal if you really like Visual Studio to develop but Visual Studio Code is pretty useful.
Not sure I would say “orphan”. More like something infected by the plague, beaten half to death and shoved out in the cold, never to be seen again.
My Windows-Docker experience:
- Hyper-V NAT-ing is useless
- Network often has to be set up manually
- Sharing of drives (if using hard volumes) does not work with several common letters. For instance having a ‘-’ in your user name is a disaster.
- Because of interference between Hyper-V and WMWare, virtualization might break (have had two cases where it crashes windows beyond repair)
I look forward until RH is done with alternative for containerization. If it works properly on Windows, the choice is simple.
What I got to work, was Ubuntu inside Virtualbox on a Win10 machine.
I sit on Windows developing, and use Ubuntu (and usually CentOS 7 inside a docker container) to build and test. I shared the project folder inside Virtualbox image so it is actually very straight forward
I have currently the same issue as described here…
I have a VMware Workstation on win10, and it was already a journey to get this running on win10. Finally I have VMware Workstation running --> https://social.technet.microsoft.com/Forums/Lync/en-US/8004c3bd-7d57-40ce-93de-0b1a6babd64c/how-i-can-disable-credential-guard?forum=win10itprovirt
Is it currently possible -for whatever reasons- to have vmWare workstation/player and Docker running contemporarily on a windows 10 pro machine? =using both virtualization technologies contemporarily?
- Windows 10 Pro Version 1909 Build 18363.657 (installed on 14.2.2020)
- VMare Workstation 15 Pro Version 15.5.1 build-15018445
VMware is working with Microsoft to fix this. I’m not sure when it will be released, but it looks like the next version of Workstation should be able to run with the MS Hyper-V enabled.
Is it known that you can, or cannot, successfully use the current wsl [ windows subsystem for linux ] ubuntu install on windows 10 to then install docker for linux ubuntu [ https://docs.docker.com/install/linux/docker-ce/ubuntu/ ] to get a working docker setup on windows 10 where you don’t want to have to have hyper-v hypervisor enabled at startup [ bcdedit /enum | hypervisorlaunchtype = off ] ?
I ask because i ran through those docker linux ubuntu setup steps in my win10 wsl environment and everything appeared to work up until the last command [ sudo apt-get install docker-ce=5:19.03.8~3-0~ubuntu-bionic docker-ce-cli=5:19.03.8~3-0~ubuntu-bionic containerd.io ].
@esiemiat Thanks for the heads up on this. I installed the vmware 20h1 technical preview, from https://communities.vmware.com/community/vmtn/beta/workstation-pro | http://bit.ly/getworkstation-tp, and it successfully allowed my to operate vmware along side hyper-v hypervisor based services such as windows docker desktop. Excellent to finally see this co-existence support happening.