Docker - image operating system “windows” cannot be used on this platform

后端 未结 5 1315
猫巷女王i
猫巷女王i 2021-01-30 12:16

I tried this on my Windows 10 machine:

Dockerfile:

From microsoft/nanoserver
CMD [\"echo\", \"Hello World\"]
         


        
5条回答
  •  [愿得一人]
    2021-01-30 12:48

    Not just Windows 10 required. I have Windows 10 Home and the menu has "Change to Windows Containers" greyed out. THe hover popup says it requires Win10 PRO or Enterpriose build >= 14372

提交回复
热议问题