解决Windows 7启动 Docker 报错

  转载自:

    http://blog.csdn.net/zhengmx100/article/details/71809233

在windowx 7 X64 操作系统安装了Docker-ToolBox ,Docker的版本是17.05.0-ce
启动 Docker Quickstart Terminal报错:

[plain] view plain copy
 
  1. Running pre-create checks...  
  2. (default) No default Boot2Docker ISO found locally, downloading the latest release...  
  3. (default) Latest release for github.com/boot2docker/boot2docker is v17.05.0-ce  
  4. (default) Downloading C:\Users\zheng\.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v17.05.0-ce/boot2docker.iso...  
  5. (default) 0%Error removing file: Error removing temporary download file: remove C:\Users\zheng\.docker\machine\cache\boot2docker.iso.tmp24517390: The process cannot access the file because it is being used by another process.  
  6. (default)Looks like something went wrong in step ´Checking if machine default exists´...Press any key to continue...  

这是因为,启动时如果检测到没有 Boot2Docker,就会去下载,这个下载过程出现网络连接上的错误了,导致启动失败。


如果存在下载失败的临时文件,要将其删除。(我的机器上的路径是C:\Users\zheng\.docker\machine\cache\boot2docker.iso.tmp24517390)
自己用其他工具去下载对应的 boot2docker.iso 文件(下载链接:https://github.com/boot2docker/boot2docker/releases/download/v17.05.0-ce/boot2docker.iso)
然后放置到对应的目录(我的是:C:\Users\zheng\.docker\machine\cache\boot2docker.iso)就可以了。

posted on 2018-01-09 14:13  zgz2016  阅读(255)  评论(0编辑  收藏  举报

导航