2017-09-29 114 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,看看你可以做到這一點。