Docker 19问题:unable to resolve docker endpoint: ca.pe
描述:
目前docker更新到了19版本,在安装的时候出现以下问题
unable to resolve docker endpoint: Open C:\User\xxx\.docker\machine\machines\default\ca.pem: The system cannot find the path specified.

我个人的情况是:
以前装了VM Station,然后又装了docker 18 toolbox,win10 hyper-V全面铺开后,我选择卸载VM,然后docker 18 toolbox不能用(VM卸载把VirtualBox一起带走了),卸载,然后再装docker for win 19,出现如上问题。
问题:
docker 18 toolbox是基于VirtualBox的,自带一套虚拟机;hyper-V是基于windows10底层,这个启动虚拟机非常快。
卸载docker 18 toolbox以前的环境变量和文件配置没有一起删除,导致后面安装的docker 19出现读取证书错误。
解决:
- 卸载docker 19
- 删除对应环境变量
- 删除C:\Program Files\Docker下文件
- 重新安装docker

备注:
- docker 18 toolbox 链接
- 参考解决方案 链接