Docker:如何修复“Layer已经被其他客户端拉出”等待" [英] Docker: how to fix "Layer already being pulled by another client. Waiting"

查看:359
本文介绍了Docker:如何修复“Layer已经被其他客户端拉出”等待"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用boot2docker进行了全新的安装。 (DockerToolbox给我一样的错误,卸载DockerToolbox后,我删除了〜/ .docker,并搜索我的整个文件系统,以docker开头的任何东西,没有发现任何可能隐藏的其他配置文件。)



这是我执行的第二个命令,在 docker运行hello-world 之后:

  bash-3.2 $ docker run -it ubuntu / bin / bash 
无法找到图片'ubuntu:latest'本地
最新:从库/ ubuntu
6071b4945dcf:验证校验和
5bff21ba5409:拉fs层
e5855facec0b:下载完成
8251da35e7a7:下载完成
8251da35e7a7:层已被另一个客户端拉。等候。

我被无限期地停留在这里。



<我承诺我只有一个码头工艺运行。我只想过去这个。如果这意味着nuking任何缓存是到位和手动下载,没关系。我只是想停止在这里呆几个小时。

解决方案

您需要重新启动Docker服务或重新启动操作系统。
此外,问题 @avramirez还指出,您可以使用boot2docker:

  boot2docker stop 
boot2docker up

docker pull< repo>


I have a fresh install using boot2docker. (DockerToolbox was giving me the same error. After uninstalling DockerToolbox, I deleted ~/.docker and searched my whole filesystem for anything starting with "docker" and found no other configuration files where things might be hiding.)

This is the second command I did, after docker run hello-world:

bash-3.2$ docker run -it ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
6071b4945dcf: Verifying Checksum 
5bff21ba5409: Pulling fs layer 
e5855facec0b: Download complete 
8251da35e7a7: Download complete 
8251da35e7a7: Layer already being pulled by another client. Waiting. 

And I'm stuck here indefinitely.

I promise I only have 1 docker process running. I just want to get past this. If it means nuking whatever cache is in place and doing a manual download, that's okay. I just want to stop being stuck here for hours.

解决方案

You need to restart Docker service or just restart the OS. Also in this issue @avramirez pointed out that you can do this using boot2docker:

boot2docker stop
boot2docker up

docker pull <repo>

这篇关于Docker:如何修复“Layer已经被其他客户端拉出”等待&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆