EagleOne
EagleOne

Reputation: 571

Can't run or pull windows docker images

From here I can't pull or run any windows docker image (from windows or Linux)

When trying from Windows cmd:

Pull:

docker pull mcr.microsoft.com/windows
Using default tag: latest
Error response from daemon: manifest for mcr.microsoft.com/windows:latest not found: manifest unknown: manifest tagged by "latest" is not found

Run:

docker run mcr.microsoft.com/windows:1903
Unable to find image 'mcr.microsoft.com/windows:1903' locally
1903: Pulling from windows
docker: no matching manifest for linux/amd64 in the manifest list entries.
See 'docker run --help'.

Any tips?

Upvotes: 6

Views: 7295

Answers (1)

atline
atline

Reputation: 31674

docker: no matching manifest for linux/amd64 in the manifest list entries. means this image only works on the Windows platform.

Although you are on Windows, Docker Desktop may be set to use a linux container. You should switch to windows container before pulling this image (this can be done by right-clicking the docker icon:

enter image description here

After switching, you should be able to pull that image successfully:

C:\Windows\System32>docker pull mcr.microsoft.com/windows:1903
1903: Pulling from windows
af1a530dff54: Downloading [==========>                                      ]    738MB/3.657GB                        
123ee413bb26: Downloading [===================>                               ]  994.8MB/2.51GB 

BTW, it looks like the latest label is not set for this image, so you will have to use a specific version, e.g. 19.03.

Upvotes: 10

Related Questions