Docker Community Forums

Share and learn in the Docker community.

Server 1709 - LCOW - not running linux containers


(Mjrobertsnh) #1

Expected behavior

I expect that when I run “Docker pull ubuntu” it will pull down the ubuntu image. For some reason Docker doesn’t try to pull linux containers when I have the “experimental” flag set to true, and the environment variables set to enable LCOW and default to linux. If I could specify pulling in linux container, that would suffice for now, but I can’t find doc on how to tell docker to pull/run images for the linux platform specifically.

Actual behavior

I get the following error…
C:\Users\admin>docker pull mongo
Using default tag: latest
latest: Pulling from library/mongo
no matching manifest for windows/amd64 in the manifest list entries

Information

-----System Info-----
Caption : Microsoft Windows Server Standard
InstallDate : 1/24/2018 3:45:58 PM
ServicePackMajorVersion : 0
OSArchitecture : 64-bit
BootDevice : \Device\HarddiskVolume2
BuildNumber : 16299
CSName : WIN-I61EJ8VOFKH

— relevant Env—
LCOW_API_PLATFORM_IF_OMITTED linux
LCOW_SUPPORTED 1

—docker info----
C:\Users\admin>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: 4
Total Memory: 7.812GiB
Name: WIN-I61EJ8VOFKH
ID: GMPM:XNWL:OXG6:M5GD:OYOZ:5SZG:AWBU:2OFY:WGIS:5T6I:J7VG:YF4M
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Steps to reproduce the behavior

  1. Install Server 1709 (January)
  2. Follow this guide…
    http://www.deploycontainers.com/2017/10/31/run-linux-containers-windows-server-2016-version-1709/
  3. Add the “LCOW_API_PLATFORM_IF_OMITTED linux” Environment variable.
  4. Docker pull ubuntu

(Ntweekly) #2

You need to use the article below

1709 can run LCOW only with the preview edition of docker on windows.

If you have windows 10 1709 you can in action as well using the edge channel