boot2docker up で password を聞かれるときの対処法。

boot2docker upでpasswordを聞かれるようになってしまったので解決方法。

事象

boot2docker updocker@localhostのpasswordを聞かれ、何回入力しても聞かれ続ける。

$ boot2docker up
Waiting for VM and Docker daemon to start...
...........docker@localhost's password:
docker@localhost's password:
docker@localhost's password:
docker@localhost's password:

解決方法

"boot2docker up" asking for password #405 と同様にboot2docker upgradeするだけ。

$ boot2docker upgrade
docker is up to date (1.5.0), skipping upgrade...
boot2docker is up to date (v1.5.0), skipping upgrade...
Latest release for boot2docker/boot2docker is v1.5.0
Downloading boot2docker ISO image...
Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.5.0/boot2docker.iso
    to /Users/yug1224/.boot2docker/boot2docker.iso

boot2docker deleteしてから起動し直したら成功しました。

$ boot2docker delete
$ boot2docker init
$ boot2docker up
Waiting for VM and Docker daemon to start...
........................ooooooooooooooooooooooooooo
Started.
Writing /Users/yug1224/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/yug1224/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/yug1224/.boot2docker/certs/boot2docker-vm/key.pem

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://192.168.59.107:2376
    export DOCKER_CERT_PATH=/Users/yug1224/.boot2docker/certs/boot2docker-vm
    export DOCKER_TLS_VERIFY=1
Docker