Skip to content

Windows: unhelpful error message when pulling an up-level, multi-arch image #38199

@JoshEbersol

Description

@JoshEbersol

Repro steps:

  1. Install a pre-1809 version of Windows 10 (aka 1803), enable containers feature, etc.
  2. Install the latest docker client (must be new enough to have the fix for Windows: Block pulling uplevel images #36327).
  3. Attempt to pull a multi-arch 1809 image (where each of the sub-images is a blocked, up-level image)
  4. Try to make sense of the error message. :)
>docker pull mcr.microsoft.com/windows/nanoserver:1809
1809: Pulling from windows/nanoserver
no matching manifest for unknown in the manifest list entries

Ideally, in this case we'd display something like the excellent message you see if you try to pull one of the architecture-specific sub-images:

>docker pull mcr.microsoft.com/windows/nanoserver:1809_amd64
1809_amd64: Pulling from windows/nanoserver
a Windows version 10.0.17763-based image is incompatible with a 10.0.17134 host

>docker version
Client:
 Version:           master-dockerproject-2018-11-13
 API version:       1.40
 Go version:        go1.11.1
 Git commit:        3a6f8b67
 Built:             Tue Nov 13 23:50:52 2018
 OS/Arch:           windows/amd64
 Experimental:      false

Server:
 Engine:
  Version:          master-dockerproject-2018-11-13
  API version:      1.40 (minimum version 1.24)
  Go version:       go1.11.2
  Git commit:       7582557
  Built:            Tue Nov 13 23:59:46 2018
  OS/Arch:          windows/amd64
  Experimental:     false

>ver
Microsoft Windows [Version 10.0.17134.1]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions