I use Docker on Windows, and when I tried to pull a PHP image with this command
$ docker pull php
I got this message:
Using default tag: latest
latest: Pulling from library/php no matching manifest for windows/amd64
in the manifest list entries
How can I fix this problem?
Consider the applications that you are pulling - are they Windows based? If not, you need to run a Linux container.
Without using the experimental mode, you can only use Docker in one style of container vs the other. If you activate the experimental mode as mentioned above, you can use Windows and Linux containers as required by the applications you are pulling in the compose file.
Key note: Experimental - still in development by Docker.
You need to pull with the Linux platform first, then you can run on Windows:
See blog post Docker for Windows Desktop 18.02 with Windows 10 Fall Creators Update.
Another possible way to do this:
In system tray, right click on docker icon, then click on
Switch to Linux containers
.(Docker for Windows, Community Edition, version 18.03.1)
Thanks for @benscabbia, it works for me in win10
I had this same issue on Windows 10. I bypassed it by running the Docker daemon in experimental mode:
"experimental": true
This looks like https://github.com/docker/for-win/issues/1100
If adding
--experimental
does not work, consider re-installing docker for windows.