boot2docker / osx-installer

Docker installer for Mac OS X
Apache License 2.0
1.25k stars 258 forks source link

boot2docker taking long to start #90

Closed ygrange closed 6 years ago

ygrange commented 9 years ago

Hi,

I just downloaded Docker for my osx system (OSX 10.8.5). When I either start the boot2docker by clicking the app icon or through command line, the system waits a long time (75 minutes and counting. I now finally have the patience to wait for it) at this stage: Grange@macgrange:~$ /usr/local/bin/boot2docker up Waiting for VM and Docker daemon to start... ..........................................................................ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

(so after it ran out of dots, it started counting with o signs...)

I have the impression that this is not really intended behaviour. Is there any way to improve the run time?

(EDIT: just updated the time it was running...)

wpp commented 9 years ago

Does it start eventually?

Waiting for VM and Docker daemon to start... ...................ooo Started. Writing /Users/pw/.boot2docker/certs/boot2docker-vm/ca.pem Writing /Users/pw/.boot2docker/certs/boot2docker-vm/cert.pem Writing /Users/pw/.boot2docker/certs/boot2docker-vm/key.pem Your environment variables are already set correctly.

boot2docker start 0.27s user 0.22s system 1% cpu 26.850 total

boot2docker -v Boot2Docker-cli version: v1.3.2 Git commit: e41a9ae

Try starting it with:

$ boot2docker start -v
ygrange commented 9 years ago

I found the VM in VirtualBox. It was running so I stopped it. I shut it down. Retrying didn't however work much. So I decided to destroy the vm and init it again. And now it looks that I finally got it to work.

So the key issue was here to look for the VM in virtualbox.

tianon commented 6 years ago

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).