Reputation: 6527
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
Upvotes: 10
Views: 13597
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
Reputation: 580
You must download and install latest docker from here
and switch to windows container.
Upvotes: 5
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
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
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