Docker安装问题3 No default Boot2Docker ISO found locally, downloading the latest release(然后下载失败!)

本文详细介绍了在Win8.1环境下使用Docker-toolbox 18.03.0版本时遇到的启动问题,包括错误信息、问题原因分析以及具体的解决步骤。通过下载并手动放置boot2docker.iso文件,成功解决了由于网络连接错误导致的Docker启动失败问题。

问题背景

  Win8.1 Docker-toolbox版本为18.03.0,在解决了上文这个问题后:Docker安装问题2 This computer doesn’t have VT-X/AMD-v enabled,启动Docker Quick Terminal时,报下面的错;

(default) Image cache directory does not exist, creating it at C:\Users\libin\.d
ocker\machine\cache...
(default) No default Boot2Docker ISO found locally, downloading the latest relea
se...
(default) Latest release for github.com/boot2docker/boot2docker is v18.06.1-ce
(default) Downloading C:\Users\libin\.docker\machine\cache\boot2docker.iso from
https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2do
cker.iso...
(default) 0%....10%....20%..Error removing file: Error removing temporary downlo
ad file: remove C:\Users\libin\.docker\machine\cache\boot2docker.iso.tmp46992358
7: The process cannot access the file because it is being used by another proces
s.
(default)
Error with pre-create check: "read tcp 218.197.228.182:49406->52.216.160.179:443
: wsarecv: An existing connection was forcibly closed by the remote host."

问题原因

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

解决方案

  1. 先删除已下载的临时文件,我的目录是:C:\Users\libin.docker\machine\cache.
    2
  2. 用其他工具去下载对应的 boot2docker.iso 文件,下载链接:https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso
    注意:
    这里的链接地址其实就在上面的报错信息中,直接复制也可以。
  3. 将下载好的文件放到1中的目录下(不需要解压)

参考文章解决Windows 7启动 Docker 报错

### Windows Docker Installation Won't Start Troubleshooting For users encountering issues where Docker does not start after installation on a Windows operating system, several potential solutions exist. The following guidance can help diagnose and resolve common problems. #### Verify System Requirements Ensure that the machine meets all necessary requirements for running Docker Desktop on Windows. This includes having Hyper-V and Containers features enabled as well as ensuring compatibility with Windows 10 Pro or Enterprise editions[^1]. #### Check Virtualization Settings Confirm virtualization settings are properly configured within BIOS/UEFI firmware options before attempting to run any containerized applications like Docker. Incorrect configurations may prevent proper operation of required services such as Hyper-V which underpins much of what makes containers work efficiently on Windows platforms[^2]. #### Examine Event Viewer Logs If Docker fails to initialize correctly upon launch, examining logs found through Windows' built-in Event Viewer tool might provide insight into specific errors preventing successful startup. Look specifically at Application and Service Logs -> Microsoft -> Windows -> Docker path inside Event Viewer interface[^3]. #### Reinstall Docker Desktop Sometimes simply reinstalling Docker Desktop could fix underlying configuration issues causing it not to boot up properly post-installation. Uninstall existing version first via Control Panel's Programs list prior to downloading latest installer from official website again[^4]. ```powershell # PowerShell command to uninstall Docker Desktop using winget package manager (if applicable) winget uninstall --id=Docker.DockerDesktop ``` #### Enable WSL 2 Backend Support Since newer versions rely heavily on WSL 2 backend support rather than older Moby VM approach used previously by default when setting up Linux environments locally, enabling this feature explicitly during setup process should be considered too if facing persistent trouble getting things going smoothly otherwise[^5].
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值