Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 拉取时Docker错误-下载依赖层时出错_Linux_Docker_Linux Mint_Lxc - Fatal编程技术网

Linux 拉取时Docker错误-下载依赖层时出错

Linux 拉取时Docker错误-下载依赖层时出错,linux,docker,linux-mint,lxc,Linux,Docker,Linux Mint,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 f697cdc2e

拉取图像时出现以下错误

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.

你的互联网连接有多快?我也犯了同样的错误,我认为这与网络速度慢导致的超时有关。多次尝试都成功了

尝试以root用户身份运行它。以非特权用户身份运行命令时,我遇到了相同的错误。当我以root运行它时,它运行得很好

sudo docker pull ubuntu

你试过多次了吗?您每次都收到相同的错误吗?是的,尝试了多次并得到相同的结果。非特权用户应给出套接字错误。大多数默认环境不允许您下载,除非您是root用户