How to Run Docker Linux Containers on Windows Server 2016 Build 14393

How to Run Docker Linux Containers on Windows Server 2016 Build 14393

The easiest way to get Linux containers without hacky workarounds is to download Docker Community Edition 2.0.0.3 2019-02-15

Link: https://download.docker.com/win/stable/31259/Docker%20for%20Windows%20Installer.exe

Page with all versions: https://docs.docker.com/docker-for-windows/release-notes/

Simply download/copy the file to the Windows Server 2016 machine and run it.

It can also run offline for air gapped systems.

Uncheck the Use Windows containers during setup. Unchecked by default.

You will get a message after installing saying that windows so and so is deprecated. Click OK.
enter

Log out and log back in.

If you hadnt installed Hyper-V itll prompt you to do it automatically. Allow it, let it finish and restart. Youre good to go now.

Ive tested this by running several Linux containers, it works fine. If Im missing something do share for the benefit of others. The downside is you cannot update to a later version of Docker.

Update:
Disclaimers:

  • This can help you avoid the hardware limitations and complexities of using LCOW with Docker-EE for Windows.
  • It is more recent than the latest official version of LCOW available.
  • This wont let you run Windows and Linux containers in parallel. You can only run one or the other.
  • This also wont start docker automatically at startup (not until you login). To start docker without login youll need to add Docker Desktop Executable to Windows Task Scheduler and configure it to run on startup whether user is logged in or not. Youll have to provide an account for it (ideally a service account, or an account with a permanent password)

How to Run Docker Linux Containers on Windows Server 2016 Build 14393

Leave a Reply

Your email address will not be published.