I just blogged about how to run a Docker Linux Container natively on the new Windows Server version 1709. Docker today released a new update for Docker on Windows which also enables this scenario a little bit easier on your Windows 10 machine. It will ask you if you want to use the new feature to run Linux Containers natively on a Hyper-V Container running on Windows 10 (without the Moby VM).
As you can see the only thing right now you have to turn the feature on and off, since in this technical preview it is not yet possible to run Linux and Windows containers in parallel. But I guess soon that will be the case.
What you need is:
- Windows 10 Fall Creators Update (Build 16299, Version 1709, RS3)
- Docker for Windows 17.10.0-ce-win36 (13788) or higher
Enable Linux Containers on Windows
You can change the settings in the Docker Settings:
With hat setting on you can now run Linux Containers such as ubuntu on Windows directly, without having a Linux Virutal Machine running in the background to host the Linux containers.
Now you can also do some other fancy things like run the Azure CLI in a Linux Container on Windows 10.
Simple and effective, and it will be even more powerful when you can run Linux and Windows Container in parallel on Windows Sever and on Windows 10.
Tags: Azure, Azure CLI, Container, Docker, Hyper-V Container, Linux, Linux Container, Linux Container on Windows 10, Microsoft, PowerShell, Ubuntu, Windows 10, Windows Container Last modified: August 27, 2018
What you need is:
Windows 10 Professional or Enterprise Fall Creators Update (Build 16299, Version 1709, RS3)
“With hat seeting on” should change to “With that setting on”.
Thanks Fixed :)
Does installing Docker on Windows 10 still prevent VMWare from running? I sure wish they allowed this scenario.
Well just use Hyper-V instead of VMware and you are fine to go
@thomasMaurer – that’s not really a solution when you are wanting to use an existing vmware or vagrant image.
Hyper-V doesn’t run macos and it doesn’t support audio.