通过自有云主机接入docker,提示需要输入密码:
[sudo] password for docker
这个密码是怎么设置的?
PHPz2017-04-24 09:11:16
Normally, it is recommended to use docker-machine ssh default
进行登录,不需要输入密码。default
as the default machine name.
In boot2docker, the default username and password are:
user: docker
pass: tcuser
Login method:
$ ssh docker@localhost -p 2022
docker@localhost's password: tcuser
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\______/