Docker:如何修复“Layer已经被其他客户端拉出”等待" [英] Docker: how to fix "Layer already being pulled by another client. Waiting"
问题描述
这是我执行的第二个命令,在 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已经被其他客户端拉出”等待"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!