10

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".

enter image description here

How I can solve this?

P.S. I have docker client and server v1.12.2

1
  • May the image available in the library might have problem. Experiencing the same here. If possible, report to the maintainer.
    – Rao
    Nov 2, 2016 at 9:49

5 Answers 5

7

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

5

You must download and install latest docker from here

and switch to windows container. and switch to windows container.

read more

2

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.

1

You're trying to download a windows image to a Linux host. I'm assuming you're running the docker host within a Linux VM.

If you have access to Windows Server 2016 use that.

1
1

try
docker 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.