I had this same issue on Windows 10. I bypassed it by running the Docker daemon in experimental mode:
"experimental": true
There could be many reasons for this error. But most obvious reason for this error is using Windows Container in Linux Container Mode or vise versa.
You are in Windows container mode. So if you're not sure that the image you want to pull is built for the Windows architecture, you need to switch to Linux containers.
In my case it was that the Windows OS version I was on did not support the tag I was trying to pull. Utilizing an older tag allowed me to get this to work.
Specifically:
docker pull mcr.microsoft.com/windows/nanoserver:1903
errored
docker pull mcr.microsoft.com/windows/nanoserver:1803-amd64
worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With