Docker Community Forums

Share and learn in the Docker community.

Cannot run Linux containers on Windows Server 2016 (Docker EE) VM


(Mmosier) #1

Run build image

PS C:\Windows\system32> docker image build C:\Users******\Downloads\golangDocker

Sending build context to Docker daemon 9.895MB
Step 1/9 : FROM golang:alpine
alpine: Pulling from library/golang
no matching manifest for windows/amd64 in the manifest list entries

Information

DockerDebugInfo.ps1 : The term ‘DockerDebugInfo.ps1’ is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1

  • DockerDebugInfo.ps1
  •   + CategoryInfo          : ObjectNotFound: (DockerDebugInfo.ps1:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Steps to reproduce the behavior

  1. See above command (docker image build)
  2. HyperV and containers are installed and enabled, I followed the official docker install guide for Windows Server 2016, nested virtualization is also running, VMWare. Also [Environment]::SetEnvironmentVariable(“LCOW_SUPPORTED”, “1”, “Machine”) IS SET.

(Jjfraney) #2

Expected. Docker has no magic to run Linux binaries on Windows hosts. Note, docker for Windows puts up a Linux host as vm to run Linux binaries ‘on windows’, wink-wink.