, , , ,

How to run Docker Linux Container on Windows 10 Fall Creator Update

Docker for Windows Update Linux Containers

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:

Docker for Windows Settings Enable Linux contianers on Windows

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.

Docker Run Ubuntu on Windows 10 Verions

Now you can also do some other fancy things like run the Azure CLI in a Linux Container on Windows 10.

Docker Azure CLI on Linux on Windows 10 Container

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.

7 responses

  1. lewis shen Avatar
    lewis shen

    What you need is:
    Windows 10 Professional or Enterprise Fall Creators Update (Build 16299, Version 1709, RS3)

  2. lewis shen Avatar
    lewis shen

    “With hat seeting on” should change to “With that setting on”.

  3. Morrolan Avatar
    Morrolan

    Does installing Docker on Windows 10 still prevent VMWare from running? I sure wish they allowed this scenario.

    1. Thomas Maurer Avatar

      Well just use Hyper-V instead of VMware and you are fine to go

  4. Tim Avatar

    @thomasMaurer – that’s not really a solution when you are wanting to use an existing vmware or vagrant image.

  5. Morrolan Avatar
    Morrolan

    Hyper-V doesn’t run macos and it doesn’t support audio.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.