Boot2docker asks for password for docker@localhost

May 4th, 2017 by Alex Leave a reply »

This started happening out of nowhere, and is frustrating as nothing helps, neither boot2docker upgrade nor killing the docker and reinitializing it from scratch. So the solution is to delete everything that boo2docker generated in your user directory.

boot2docker delete
rm -rf ~/.boot2docker/ ~/.ssh/id_boot2docker*
boot2docker init
boot2docker up

No more nasty docker@localhost's password: messages!

Leave a Reply