centos7 - docker 密码是怎么设置的?
大家讲道理
大家讲道理 2017-04-24 09:09:16
0
2
1077


通过自有云主机接入docker,提示需要输入密码:

[sudo] password for docker

这个密码是怎么设置的?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
PHPzhong

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          __/
             \    \        __/
              \____\______/
伊谢尔伦

dock-machine ssh default

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template