简体   繁体   中英

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

I'm in a situation where:

  • I have no choice of server OS (Windows Server 2016 Build 14393).
  • And no choice of container OS (I need Linux Containers).
  • And I don't need Docker EE (Enterprise), CE (Desktop Edition) will do.

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. 在此处输入图片说明

Log out and log back in.

If you hadn't installed Hyper-V it'll prompt you to do it automatically. Allow it, let it finish and restart. You're good to go now.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM