2017-09-29 140 views
1

我已经为Windows Server 2016安装了Docker EE,并能够拉动并运行hello-world示例。“Docker pull redis”在Docker for Windows上失败

当我调用 “泊坞窗拉Redis的”,我得到:

Using default tag: latest 
latest: Pulling from library/redis 
no matching manifest for windows/amd64 in the manifest list entries 

我的搬运工版本:

Client: 
Version:  17.10.0-ee-preview-2 
API version: 1.32 
Go version: go1.8.3 
Git commit: 10e292d 
Built:  Thu Sep 21 19:58:53 2017 
OS/Arch:  windows/amd64 

Server: 
Version:  17.10.0-ee-preview-2 
API version: 1.32 (minimum version 1.24) 
Go version: go1.8.3 
Git commit: 777d4a1 
Built:  Thu Sep 21 20:08:05 2017 
OS/Arch:  windows/amd64 
Experimental: false 

不知道我做错了这里。

+1

当你使用'docker pull redis'时,它试图从[official](https://hub.docker.com/_/redis/)redis回购,它似乎没有为你的架构。您应该尝试[this](https://hub.docker.com/r/winamd64/redis/)['docker pull winamd64/redis'],看看它是否有效。 – Technext

+2

可能重复[如何在Windows上运行Ubuntu容器?](https://stackoverflow.com/questions/46474777/how-do-i-run-an-ubuntu-container-on-windows) –

+0

@Technext ,它看起来像来自https://github.com/MicrosoftArchive/redis,它不再被维护。 – Vince

回答

1

正如码头信息所示,服务器未以实验模式启动。

您需要在windows服务器上启动具有实验模式的docker服务器。检查linux-containers-on-windows,看看你可以做到这一点。