Unable to pull docker image on Windows 10 - docker

I have docker 2.2.0.4 on Windows 10. I see following message while trying to test it:
>docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
no matching manifest for windows/amd64 10.0.17134 in the manifest list entries
I even did 'Switch to Linux Containers', but that stops docker itself with error.
How to get it working?
I tried with 2.2.0.5 too, but still I face issues. I have posted it here too.

Try running with the Linux platform as an option
docker pull --platform linux
OR
Enable the experimental feature in Docker Daemon
Right click Docker icon in the Windows System Tray
Go to Settings
Daemon
Advanced
Set the "experimental": true
Restart Docker

Related

no matching manifest for windows/amd64 10.0.16299 in the manifest list entries error on pulling hello-world image

I've installed docker on windows 10 and configured for windows container. I'm not able to switch to linux container. it is throwing some exception.
When I pull hello-world image it is giving "no matching manifest for windows/amd64 10.0.16299 in the manifest list entries" message. What does this error mean? I tried experimental mode too. This solution I found on stack overflow. I've also tried to reinstall docker for windows but no luck.
Can anyone help me in this?
The "no matching manifest" error happens when that particular image could not be found (e.g., openjdk:8 exists but openjdk:69 would cause that error to be thrown because it doesn't exist).
The hello-world image does exist on Docker Hub, but not for certain computers (e.g., your Windows AMD). The alternate hello-world image to be used on such computers is docker/surprise (run docker run --rm -it docker/surprise).
The docs should be updated for this caveat since both docker --version and docker run hello-world is supposed to demonstrate that you've successfully set up Docker. Just know that you should use the docker/surprise image instead in such cases.
This error implies your host machine's OS is not compatible with the OS docker image you are trying to pull. See Windows container version compatibility
For example, if you are running Windows 10 1809 on your host OS, you cannot pull mcr.microsoft.com/windows:1909. However you can of course pull mcr.microsoft.com/windows:1809
e.g. docker run mcr.microsoft.com/windows:1809
or docker-compose up with a docker-compose.yml file:
version: "3"
services:
myWin:
image: mcr.microsoft.com/windows:1809
networks:
- myNet
networks:
myNet:
driver: nat
I think it's related to your actual PC, I mean you might be using an AMD processor.
In my case, I am using Windows Server 2016 on AMD processor. Docker gives Windows Server users another version called Docker Enterprise Engine (EE for short) and for Docker EE users who are on AMD, they should try this:
docker run hello-world:nanoserver-sac2016

Docker pull fails after continuous retrying to download

$ docker pull oraclelinux
Using default tag: latest
latest: Pulling from library/oraclelinux
c93adbd5ca8c: Downloading [==================================================>] 85.96MB/85.96MB
unexpected EOF
$ docker --version
Docker version 18.09.2, build 6247962
I notice that docker pull continously retries with back-off for a few times and eventually fails with unexpected EOF. Same issue observed if pulling centos, debian image.
The docker pull of this image from a repository in local network succeeds. I'm trying to figure out the failure for pulls from github.io.
docker pull for smaller size images (ex: alpine, helloworld) succeeds.
Running Docker Desktop Version 2.0.0.3 (31259) on MacOS High Sierra. Restarting Docker did not resolve the issue.
Any pointers are greatly appreciated.
Found an answer. I had to use Manual Proxy Configuration within Docker Desktop to point to an internal corp proxy for this to work.

Docker fails to build image on Windows for example app

https://docs.docker.com/get-started/part2/#dockerfile
Windows 10 Pro
docker version 18.06.0-ce
after running docker build -t friendlyhello I get following error:
Sending build context to the docker daemon 5.12 KB
Step 1/7: FROM python :2.7-slim
2.7-slim : Pulling from library\python
no matching manifest for unknown in the list of entries
I had this same issue on Windows 10. I could continue following the next steps:
Right click Docker instance
Go to Settings
Daemon
Advanced
Set the experimental: true
This will restart Docker and let you continue pal.

Unable to pull ubuntu image using docker on windows host

I have installed docker on windows 10.
Docker version:
Docker version 17.09.0-ce, build afdb6d4
I tried to pull latest ubuntu and ubuntu:16.04 using the bellow two commands
docker pull ubuntu
docker pull ubuntu:16.04
But I am getting the below error.
docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
no matching manifest for windows/amd64 in the manifest list entries
So is there any way to fix this issue?
You can't run linux images with a windows daemon.
If you are running Docker for Windows, it gives you the ability to switch between running a Windows Docker daemon and a Linux Docker daemon inside a hyper-v VM.
To run Linux workloads, make sure you have chosen "Switch to Linux Containers" in the Docker for Windows whale icon menu.
please follow the Docker tutorial here
In this case the problem is it requires adding the --experimental flag when starting dockerd.exe.

Error while running docker run hello-world

I am new to DOCKER. I am using Community Edition, stable version on Windows 10 64bit OS.
Docker is installed successfully and it is showing status as running. However when i try below command i get error :
C:\Program Files\Docker\Docker>docker run hello-world
docker: error during connect: Post http://C:2375/Program%20Files/Docker/Docker/v1.27/containers/create: dial tcp: lookup C: getaddrinfow: No such host is known..
See 'docker run --help'.
Docker version is
C:\Program Files\Docker\Docker>docker --version
Docker version 17.03.1-ce, build c6d412e
can anyone please help?
I recommend you to go for docker tool box if it is for development purpose. I too faced few issues when i was trying to install docker on my Windows 10.
Before go for further investigation about your problem, i want you to check the following;
Make sure Virtualization enabled. you can check it in BIOS configuration.
In final completion wizard of docker window, you must check "Launch Docker" (it will check by default)
If you think you installed properly, you should able to see the docker icon in the status bar.
If all the above criteria's seems fine, you can run the hello-world program and could able to see the output from docker hub.
For more information on how to install docker tool box on you windows. you can refer the docker tool box for windows
If you still have any issues, please type the below command on your terminal and send the result
"docker info"
Hope this will help for you!

Resources