Docker:如何修复"已经被另一个客户端拉出的图层.等待"

Dan*_*son 7 pull docker boot2docker

我使用boot2docker进行全新安装.(DockerToolbox给了我同样的错误.在卸载DockerToolbox之后,我删除了〜/ .docker并搜索了我的整个文件系统,查找以"docker"开头的任何内容,并且找不到其他可能隐藏的配置文件.)

这是我做过的第二个命令 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. 
Run Code Online (Sandbox Code Playgroud)

我无限期地被困在这里.

我保证我只有1个docker进程在运行.我只是想通过这个.如果它意味着核实任何缓存并进行手动下载,那没关系.我只是想停止被困在这里几个小时.

aon*_*emd 6

您需要重新启动Docker服务或只是重新启动操作系统.同样在本期中 @avramirez指出您可以使用boot2docker执行此操作:

boot2docker stop
boot2docker up

docker pull <repo>
Run Code Online (Sandbox Code Playgroud)