官网地址:http://www.docker.com/
下载地址:https://docs.docker.com/installation/windows/
安装错误汇总:
错误:
Failed to get machine "boot2docker-vm": machine does not exist
解决:没关系,这是因为没有boot2docker iso的镜像所致,执行:
boot2docker init
boot2docker start
boot2docker ssh
windows下工具:
查看虚拟机ip地址
boot2docker ip
连接docker:
默认:192.168.59.103 端口:22 user:docker pwd:tcuser
docker命令:
docker 查看所有命令帮助
$ docker search centos #查找centos名字的镜像 //NAME <username>/<image_name>非官方的,是其他用户提交
$ docker pull centos #下载官方纯净版本的centos镜像
$ docker images #查看镜像列表
错误:
error in run: Failed to start machine "boot2docker-vm": exit status 1
解决:
宿主机win7用的ghost系统,会破解uxtheme.dll文件,导致virtualbox启动失败
http://blog.csdn.net/cuidiwhere/article/details/41893733
https://cnodejs.org/topic/53f494d9bbdaa79d519c9a4a
错误:
Error requesting socket: exec: "ssh": executable file not found in %PATH% Auto detection of the VM‘s Docker socket failed.
解决:
SSH 没有安装。 GIT中自带了SSH,由于没有将GIT安装问bin目录设置为path所以报此错误
参考引用:
http://docs.docker.com/installation/windows/
http://blog.csdn.net/cuidiwhere/article/details/41893733
https://cnodejs.org/topic/53f494d9bbdaa79d519c9a4a