brikis98/docker-osx-dev

Constant "Password:" prompts

arkwright opened this issue · 2 comments

Unfortunately I can't reproduce this problem, but docker-osx-dev appears to be prompting for a sudo password continuously under some circumstances. We believe this to be the case because there are no other sudo requirements in the affected script.

Password:
Password:
Password:
Password:

No matter how many times the password is entered, the prompts continue.

Cancelling the prompt and re-saving the (unmodified) affected script triggers the prompts again.

The problem has since resolved itself. Sorry I can't be more specific. 😞

I imagine this has something to do with fsutils. But that's just a hunch.

docker-osx-dev uses docker-machine ssh or boot2docker ssh to connect to your VM. To authenticate, it uses an SSH key. You can find the logic for docker-machine here and the logic for boot2docker here.

Perhaps your SSH key is configured differently or got deleted? Or has a password on it? That might explain the password prompt.