Docker win7 安装 过程,及遇到的问题

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/LZHH_2008/article/details/102761587

https://www.runoob.com/docker/windows-docker-install.html

win7、win8 等需要利用 docker toolbox 来安装,国内可以使用阿里云的镜像来下载,下载地址:http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/

docker toolbox 是一个工具集,它主要包含以下一些内容:

Docker CLI 客户端,用来运行docker引擎创建镜像和容器
Docker Machine. 可以让你在windows的命令行中运行docker引擎命令
Docker Compose. 用来运行docker-compose命令
Kitematic. 这是Docker的GUI版本
Docker QuickStart shell. 这是一个已经配置好Docker的命令行环境
Oracle VM Virtualbox. 虚拟机

下载完成之后直接点击安装,安装成功后,桌边会出现三个图标,入下图所示:

点击 Docker QuickStart 图标来启动 Docker Toolbox 终端。

1. 安装错误:error in driver during machine creation:This computer doesn’t have VT-X/AMD-v enabled .Enabling it in the BIOS is mandatory

2 启动错误:error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.35/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

我的解决办法 :

a. 打开 oracle VM vitual Box

 

b. 里面是一个正在运行的虚拟机,停止, 关闭电源, 把 虚拟机删除, 然后重新启动  docker quickstart 会再次创建一个,就好了

其他的解决办法:

问题error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.35/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.的解决方法

 
  1. cd "C:\Program Files\Docker\Docker"

  2. ./DockerCli.exe -SwitchDaemon

执行以上操作后,问题解决了

如果没有解决可以参考下面的内容

https://github.com/docker/for-win/issues/1825

猜你喜欢

转载自blog.csdn.net/LZHH_2008/article/details/102761587