通过自有云主机接入docker,提示需要输入密码:
[sudo] password for docker
这个密码是怎么设置的?
光阴似箭催人老,日月如移越少年。
Normally, it is recommended to use docker-machine ssh default 进行登录,不需要输入密码。default as the default machine name.
docker-machine ssh default
default
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 __/ \ \ __/ \____\______/
dock-machine ssh default
Normally, it is recommended to use
docker-machine ssh default
进行登录,不需要输入密码。default
as the default machine name.In boot2docker, the default username and password are:
Login method:
dock-machine ssh default