linuxkit / lcow

Linux containers on Windows built with LinuxKit
Apache License 2.0
224 stars 42 forks source link

Not working on Windows 2016 (1607) OS BUILD 14393 #49

Open basickarl opened 5 years ago

basickarl commented 5 years ago

I can't seem to get this working on Windows Server 2016 (version 1607), OS BUILD 14393.3025.

I have build

I get the output:

PS C:\Users\Together> docker -H "npipe:////./pipe//docker_lcow" version
Client: Docker Engine - Enterprise
 Version:           18.09.7
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        b81f47481d
 Built:             06/27/2019 17:58:58
 OS/Arch:           windows/amd64
 Experimental:      false

Server:
 Engine:
  Version:          master-dockerproject-2019-07-01
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.12.6
  Git commit:       e105a74
  Built:            Tue Jul  2 00:16:45 2019
  OS/Arch:          windows/amd64
  Experimental:     true

I get the following error when trying to run the docker image:

PS C:\Users\Together> docker -H "npipe:////./pipe//docker_lcow" run -ti busybox sh
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
C:\Program Files\Docker\docker.exe: no matching manifest for windows/amd64 10.0.14393 in the manifest list entries.
See 'C:\Program Files\Docker\docker.exe run --help'.

What does this mean and how does one fix this? Plenty of peeps have had this issue over at the comments section at: https://blog.docker.com/2017/09/preview-linux-containers-on-windows/

dozer75 commented 5 years ago

You are not using the --platform linux parameter, try that..

docker -H "npipe:////./pipe//docker_lcow" run --platform linux -ti busybox sh

Something like that...