Search code examples
windowsdockeriisdocker-for-windows

docker :manifest for microsoft/windowsservercore:latest not found


I want to run IIS in my Docker container

enter image description here

But when I write this command :

docker pull microsoft/windowsservercore

I get this error :

Using default tag: latest Error response from daemon: manifest for microsoft/windowsservercore:latest not found


Solution

  • Microsoft has deprecated the latest tag

    https://techcommunity.microsoft.com/t5/Containers/Removing-the-latest-Tag-An-Update-on-MCR/ba-p/393045

    the official image with latest tag is

    docker run mcr.microsoft.com/windows/servercore:ltsc2019