Docker安裝問題3 No default Boot2Docker ISO found locally, downloading the latest release(然後下載失敗!)
阿新 • • 發佈:2018-12-16
問題背景
(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,就會去下載,在下載過程中法出現了網路連線上的錯誤,導致啟動失敗。
解決方案
- 先刪除已下載的臨時檔案,我的目錄是:C:\Users\libin.docker\machine\cache.
- 將下載好的檔案放到1中的目錄下(不需要解壓)