microsoft / opengcs

Moved to https://github.com/microsoft/hcsshim/tree/master/internal/guest. If you wish to open PRs/submit issues please do so against https://github.com/microsoft/hcsshim.
MIT License
83 stars 41 forks source link

docker preview with Server Core 1709 LCOW can't working #187

Open kkbruce opened 6 years ago

kkbruce commented 6 years ago

Hi

I reference https://blog.docker.com/2017/09/docker-windows-server-1709/ want to try LCOW.

When finish step:

[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "1", "Machine")
Restart-Service Docker

I try pull ubuntu will failure

PS C:\Users\Administrator> docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
no matching manifest for windows/amd64 in the manifest list entries

This is docker info:

PS C:\Users\Administrator> docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 17.06.3-ee-1-tp6
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: l2bridge l2tunnel nat null overlay transparent
 Log: awslogs etwlogs fluentd json-file logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 16299 (16299.15.amd64fre.rs3_release.170928-1534)
Operating System: Windows Server Standard
OSType: windows
Architecture: x86_64
CPUs: 2
Total Memory: 1023MiB
Name: dockerlcow
ID: EDYP:CXGC:RUDF:K5XE:MQ4G:QRRO:RO4B:UXBM:LM2Y:IPPU:GZBZ:5HJM
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

I don't have any idea.

Aniel commented 6 years ago

I encounter the same issue with Windows 10 Pro Insider Preview Build 17083.10000

C:\Users\Aniel> docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
no matching manifest for windows/amd64 in the manifest list entries

Result from docker info

C:\Users\Aniel> docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: 18.01.0-ce
Storage Driver: windowsfilter (windows) lcow (linux)
 LCOW:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: ics l2bridge l2tunnel nat null overlay transparent
 Log: awslogs etwlogs fluentd gelf json-file logentries splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 17083 (17083.1000.amd64fre.rs_prerelease.180119-1645)
Operating System: Windows 10 Enterprise Insider Preview
OSType: windows
Architecture: x86_64
CPUs: 8
Total Memory: 19.87GiB
Name: Aniel-PC
ID: EXM6:V5LE:KL72:CJZA:XDKL:C6FF:B6DW:WRFT:J35B:F3JX:WTYW:VPL5
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: -1
 Goroutines: 21
 System Time: 2018-01-26T16:17:56.7536726+01:00
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Aniel commented 6 years ago

The just released version 18.02.0-ce-rc1-win50 fixes the problem using the --platform linux switch.

kkbruce commented 6 years ago

Hi @Aniel Why docker EE preview can't run LCOW? So, We need to change to use docker ce edge channel to setup in Windows Server to try LCOW?

Aniel commented 6 years ago

Hi @kkbruce, i don't now why docker EE preview can´t run LCOW. I don`t have a server so i cant test that scenario. I am sorry for the confusion, I should have wrote "works for me" ;)

PatrickLang commented 6 years ago

@kkbruce not at the moment. Watch this space for updates https://docs.docker.com/install/windows/ee-preview/#windows-10-fall-creators-update to the Docker EE preview builds

kkbruce commented 6 years ago

@Aniel OK, Thanks