"microsoft/windowsservercore:latest not found" Error

Q

Why am I getting the "microsoft/windowsservercore:latest not found" Error?

✍: FYIcenter.com

A

You are getting the "microsoft/windowsservercore:latest not found" Error, because Microsoft has deprecated "latest" tag across all Windows base images to encourage better container practices.

1. Visit (Docker Image) Windows Server 2019 Now Available announcement. You see a list of recommended Windows images and builds:

docker pull mcr.microsoft.com/windows/servercore:1809
docker pull mcr.microsoft.com/windows/nanoserver:1809
docker pull mcr.microsoft.com/windows:1809

2. Pull mcr.microsoft.com/windows:1809:

C:\fyicenter> docker pull mcr.microsoft.com/windows:1809
1809: Pulling from windows
no matching manifest for windows/amd64 10.0.14393 in the manifest list entries

Ok, the recommended Windows image does not have any build to match out hosting CPU architecture. See next tutorial on how to resolve the issue.

3. If you try it again on a newer Docker environment, you may be able to pull the image. You can also pull newer version of the Windows images.

C:\fyicenter> docker\docker.exe --version
Docker version 17.09.0-ce, build afdb6d4

C:\fyicenter> docker\docker pull mcr.microsoft.com/windows:1809
1809: Pulling from windows
78e7b4951ab3: Downloading  92.99MB/4.227GB
c53f4db2c042: Downloading  204.4MB/3.036GB
...

C:\fyicenter> docker\docker pull mcr.microsoft.com/windows:1903
1809: Pulling from windows
...

4. Look at the image entry.

C:\fyicenter> docker\docker images
REPOSITORY                  TAG   IMAGE ID      CREATED             SIZE
mcr.microsoft.com/windows   1903  4afed2bab3de  8 months ago        13.750G

 

"no matching manifest for windows/amd64" Error

"microsoft/windowsservercore" - Windows Base Image

Building Docker Images for Windows

⇑⇑ Docker Container Platform - Tutorials

2022-12-15, 2754🔥, 0💬