我在Windows上使用Docker,当我试图用这个命令拉一个PHP图像时
$ docker pull php
我收到了这样的信息:
Using default tag: latest
latest: Pulling from library/php no matching manifest for windows/amd64
in the manifest list entries
我该如何解决这个问题?
我在Windows上使用Docker,当我试图用这个命令拉一个PHP图像时
$ docker pull php
我收到了这样的信息:
Using default tag: latest
latest: Pulling from library/php no matching manifest for windows/amd64
in the manifest list entries
我该如何解决这个问题?
当前回答
右击Docker实例 进入设置 守护进程 先进的 设置“experimental”:true 重启码头工人
{
"registry-mirrors": [],
"insecure-registries": [],
"debug": true,
"experimental": true
}
其他回答
右击Docker实例 进入设置 守护进程 先进的 设置“experimental”:true 重启码头工人
{
"registry-mirrors": [],
"insecure-registries": [],
"debug": true,
"experimental": true
}
Docker run McR.microsoft.com/windows/servercore:ltsc2016
试试上面的命令。 您正在提取的内容应该与您所在的底层Windows版本兼容。如果你使用的是Windows server 2016,上面的内容也适用。
关注这条线索获取更多信息
https://github.com/docker/for-win/issues/3761
看起来在windows 10 #1100中“docker pull”失败了
如果添加——experimental不起作用,考虑重新安装docker for windows。
我在Windows 10中通过运行管理Powershell解决了这个问题:
cd "C:\Program Files\Docker\Docker"
然后:
./DockerCli.exe -SwitchDaemon
我在Windows 10上也遇到了同样的问题。我通过在实验模式下运行Docker守护进程来绕过它:
右键单击Windows系统托盘中的Docker图标 进入设置 守护进程 先进的 设置“experimental”:true 重启码头工人