Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Unable to connect #62

Open
petergarbers opened this issue Jun 15, 2014 · 6 comments
Open

Unable to connect #62

petergarbers opened this issue Jun 15, 2014 · 6 comments

Comments

@petergarbers
Copy link

Hi there,

This is with a fresh install of vagrant and virtual box and using the default docker-osx settings and environment variables. Any assistance as to where I'm going wrong would be greatly appreciated.

~ docker-osx shell
Starting local Docker environment...
/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/Applications/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Start Docker Virtual machine
/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/Applications/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

@cscade
Copy link

cscade commented Jun 17, 2014

This isn't a docker-osx issue. I have the same problem occasionally with multiple vagrant VMs on my older 2008 macbook pro. A restart has always resolved the issue for me.

@petergarbers
Copy link
Author

@cscade Thanks for the reply. I've restarted several times after installing to no avail.

@jayd3e
Copy link

jayd3e commented Jun 21, 2014

Seeing this too now for some reason.... Has never happened before to me.

@kzinizk
Copy link

kzinizk commented Jun 25, 2014

me too

@Workman
Copy link

Workman commented Jul 2, 2014

docker.io has now changed to docker.com. Update as necessary.

@tmrudick
Copy link

tmrudick commented Aug 6, 2014

I had the same issue with a clean install. I ended up running the machine manually from VirtualBox and saw that the machine was hanging up on a GRUB menu to select the operating system to boot. Made a selection, shut down the VM and then docker-osx shell worked fine for subsequent runs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants