I'm trying to pull microsoft/aspnet image. It tries to download something and shows the progress. But then it shows an error - "Unknown blob".
How I can solve this?
P.S. I have docker client and server v1.12.2
You should temporarily enable this logger for debugging purposes, then remove it. Once you have enabled the above logger, run the docker pull command again. In that case, you should whitelist the 'SOME.quay.URL.com' URL and this will resolve the "Unkown blob" error.
If you know when you're creating a container that you won't want to keep it around once you're done, you can run docker run --rm to automatically delete it when it exits: Run and Remove: docker run --rm image_name.
The problem is not Windows/Linux cross compatibility. A Linux client can pull Windows images, though it cannot actually launch them.
The issue 'unknown blob' is most likely image corruption. Refer to other answer that mentioned that your image name is deprecated.
Your docker version is 1.12.2 which does not supports Windows Containers, which means you are running Linux Containers in the VM. And you are pulling a Windows container based image so either update your docker to the 1.13.0 beta version which supports Windows Containers and pull this image or find a linux based image of .Net.
To see how to switch to Windows Containers, see this GIF
trydocker pull microsoft/aspnetcore
Microsoft changed the names of their Docker Hub Repos in the last months so it is not so easy to find the right ones.
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