Vnuuk
Vnuuk

Reputation: 6527

Docker pull shows "Unknown blob"

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

Upvotes: 10

Views: 13597

Answers (5)

Slack Flag
Slack Flag

Reputation: 915

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.

Upvotes: 2

Saeid
Saeid

Reputation: 580

You must download and install latest docker from here

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

read more

Upvotes: 5

Ali Kahoot
Ali Kahoot

Reputation: 3579

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

Upvotes: 7

Falco Alexander
Falco Alexander

Reputation: 3332

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.

Upvotes: 1

McMatty
McMatty

Reputation: 151

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.

Upvotes: 1

Related Questions