Win10下安装docker toolbox 及使用 坑太多 都在这

到官网下载boot

https://download.docker.com/win/stable/DockerToolbox.exe

安装完成后点击启动

 

dockermachine配置

wangxb147@wangxb MINGW64 ~
$ docker-machine ssh default
machine does not exist

wangxb147@wangxb MINGW64 ~
$ docker run
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...] [flags]

Run a command in a new container

wangxb147@wangxb MINGW64 ~
$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE   URL   SWARM   DOCKER    ERRORS
default   -        virtualbox   Error                 Unknown   machine does not exist

wangxb147@wangxb MINGW64 ~
$ docker-machine env default
Error checking TLS connection: machine does not exist

wangxb147@wangxb MINGW64 ~
$ docker-machine regenerate-certs default
Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...
Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded

 

 

boot2docker用户和密码

用户 密码 进入方式
docker tcuser ssh
root   command:sudo -i (docker用户下执行)

 

 

 

 

 

 

 

https://www.cnblogs.com/mar-q/p/7636424.html

windows下 docker-machine 报错 Error checking TLS connection

https://segmentfault.com/a/1190000009508193

你可能感兴趣的:(Docker入门到精通)