How is the docker password set?

  docker, question

Image
Access docker via its own cloud host and prompt for password:

[sudo] password for docker

How is this password set?

In general, it is recommended to usedocker-machine ssh defaultNo password is required for login.defaultIs the default machine name.

In boot2docker, the default user name and password are:

user: docker
 pass: tcuser

Login method:

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