PULL时出现Docker错误 - 下载依赖层时出错

时间:2014-04-12 18:55:54

标签: linux docker linuxmint lxc

拉图像时出现以下错误

docker pull ubuntu

Pulling repository ubuntu
c0fe63f9a4c1: Error pulling image (latest) from ubuntu, read tcp 162.159.253.251:443: connection reset by peer 
e20bcab99567: Error pulling image (lucid) from ubuntu, unexpected EOF 
f697cdc2ef19: Error pulling image (quantal) from ubuntu, flate: read error at offset 806906: read tcp 162.159.253.251:443: connection reset by peer 
25593492b938: Error pulling image (saucy) from ubuntu, read tcp 162.159.253.251:443: connection reset by peer 
ab4344e23e3a: Error pulling image (13.04) from ubuntu, flate: read error at offset 585714: read tcp 162.159.253.251:443: connection reset by peer 
511136ea3c5a: Download complete 
9a8b9d29f4fc: Download complete 
01bdd5cc09de: Download complete 
13dec63ebd94: Error downloading dependent layers 
6170bb7b0ad1: Download complete 
79fdb1362c84: Error downloading dependent layers 
1c7f181e78b9: Download complete 
d0732e6ce563: Error downloading dependent layers 
f323cf34fd77: Download complete 
9109d385566e: Error downloading dependent layers 
2014/04/13 04:21:18 Could not find repository on any of the indexed registries.

2 个答案:

答案 0 :(得分:1)

您的互联网连接速度有多快?我得到了同样的错误,并认为由于互联网速度缓慢而导致超时。多次尝试都有效......

答案 1 :(得分:0)

尝试以root身份运行它。我作为非特权用户运行命令时遇到同样的错误。当我以root身份运行时,它工作正常。

sudo docker pull ubuntu