Open KorvinSzanto opened 8 years ago
The username is not docker, but root, so not sure why it's asking for that password. Did you modify the Vagrantfile? It's not even using rsync.
Weird, didn't modify anything. All I did wa include the vagrant file and dev directory and run vagrant up. Maybe there was some kind of collision, I'll do some digging and post back. On Thu, Oct 1, 2015 at 2:38 PM Sándor Czettner notifications@github.com wrote:
The username is not docker, but root, so not sure why it's asking for that password. Did you modify the Vagrantfile? It's not even using rsync.
— Reply to this email directly or view it on GitHub https://github.com/czettnersandor/vagrant-docker-lamp/issues/1#issuecomment-144857331 .
What is your version of Vagrant and Docker?
~ $ vagrant -v Vagrant 1.7.4 ~ $ docker -v Docker version 1.8.2, build 0a8c2e3-dirty
I'm seeing exactly the same console output and request for password, using the same versions of Vagrant and Docker listed above (1.7.4 and 1.8.2)
The password it's looking for is tcuser
, FWIW. Perhaps this is related to boot2docker?
Any idea why would that be? It's not happening here. We are using it on at least 5+ machines, Ubuntu, Fedora and Arch linux. Can I have more details? What operating system is it?
I'm using OSX 10.11.1. Not sure what's up, but entering that password allowed vagrant up
to continue... though it currently seems to be stalled at default: => Waiting for confirmation of MySQL service startup
I'm attempting to run on OSX
On Fri, Oct 9, 2015 at 9:25 AM Sándor Czettner notifications@github.com wrote:
Any idea why would that be? It's not happening here. We are using it on at least 5+ machines, Ubuntu, Fedora and Arch linux. Can I have more details? What operating system is it?
— Reply to this email directly or view it on GitHub https://github.com/czettnersandor/vagrant-docker-lamp/issues/1#issuecomment-146919511 .
Unfortunately I don't have a Mac to test with. If you find a solution for the problem, let me know or create a pull request, it will be more than welcomed.
for some inexplicable reason, "tcuser" is the valid password (just type that in at the docker password prompt and it suddenly worked for me).
I found http://stackoverflow.com/questions/31613483/vagrant-with-docker-provider-requires-rsync-password after much googling and gnashing of teeth.
Thank you, it's a great discovery. I'm looking into ways to automate this. I also found this issue with boot2docker: https://github.com/mitchellh/boot2docker-vagrant-box/issues/79 However, I'm using the config.ssh.password for something else. I'll post here if I found a solution.
+1
On vagrant up, I'm seeing this:
I enabled key insertion in my VagrantFile, but it didn't seem to do the trick. Any ideas?