1、win7使用toolbox安装docker,下载地址:https://get.daocloud.io/toolbox/


2、安装toolbox,启动Oracle VM VirtualBox报错处理

Failed to instantiate CLSID_VirtualBox w/ IVirtualBox, but CLSID_VirtualBox w/ IUnknown works.

PSDispatch looks fine. Weird.

解决办法:

修改注册表
HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000000000046}
InprocServer32 修改为C:\Windows\system32\oleaut32.dll
HKEY_CLASSES_ROOT\CLSID\{00020424-0000-0000-C000-000000000046}
InprocServer32 修改为C:\Windows\system32\oleaut32.dll


3、安装后Docker无法启动

win7下安装docker的坑

解决办法:把网络断掉,docker-machine就不会去检查boot2docker版本了!



4、win7下配置docker加速器:

docker-machine ssh default
sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http://d7e77b19.m.daocloud.io |g" /var/lib/boot2docker/profile
exit
docker-machine restart default 


5、docker version报错“error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.28/version: open //./pipe/docker_ ”

win7下安装docker的坑

错误原因:可能是之前卸载virtual box没重启,重新安装后virtual box环境设定没配置上。

处理方法:

docker-machine env --shell cmd default
//或者
docker-machine env default

win7下安装docker的坑

copy一下

win7下安装docker的坑

然后就好了

win7下安装docker的坑


6、git 环境变量设置:

path:(bin确保sh能用)

;C:\Program Files\Git\cmd;C:\Program Files\Git\bin;

PATHEXT:

;.sh




本文转自 326647452 51CTO博客,原文链接:http://blog.51cto.com/svsky/1926323,如需转载请自行联系原作者

相关文章:

  • 2022-02-25
  • 2022-01-18
  • 2021-07-06
  • 2022-03-01
  • 2021-07-31
猜你喜欢
  • 2021-08-04
  • 2021-05-10
  • 2021-09-13
  • 2021-12-14
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案