docker-machine 创建主机的缺省密码 (Default User and Password)

通常情况下,推荐使用 docker-machine ssh default 进行登录,不需要输入密码。default 是默认的 machine 名字。

在 boot2docker 中,默认的用户名和密码是:

user: dockerpass: tcuser

登录方法:

$ ssh docker@localhost -p 2022
docker@localhost's password: tcuser                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/

猜你喜欢

转载自www.cnblogs.com/mouseleo/p/12114130.html
今日推荐