SpheMakh / HI-Inator

Radio interefometry simulator/imager tailored for HI sky models.
GNU General Public License v2.0
1 stars 0 forks source link

Boot2Docker Issue #4

Closed SpheMakh closed 9 years ago

SpheMakh commented 9 years ago

@gijzelaerr Any idea on how to fix this?

When I type:

sh

boot2docker up
boot2docker shellinit

I get the following message:

Trying to get Docker socket one more time
Error requesting socket: exit status 1
Writing /Users/chiara/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/chiara/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/chiara/.boot2docker/certs/boot2docker-vm/key.pem
Auto detection of the VM's Docker socket failed.
Please run `boot2docker -v up` to diagnose.

And when I run boot2docker -v up, I get:

HostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022 -i /Users/chiara/.ssh/id_boot2docker docker@localhost grep tcp:// /proc/$(cat /var/run/docker.pid)/cmdline
cat: can't open '/var/run/docker.pid': No such file or directory
Error requesting socket: exit status 1
SpheMakh commented 9 years ago

@chiaraf I found this fix on this thread: https://github.com/boot2docker/boot2docker/issues/711

$ boot2docker delete
$ boot2docker init
$ boot2docker up
gijzelaerr commented 9 years ago

yes, somehow there was something wrong with the VM. maybe a restart of the VM had helped (boot2docker restart?), but this shoud work also. Maybe you have lost all your downloaded images now, but they will auto download again.

chiaraf commented 9 years ago

Thanks! It works. Cheers

SpheMakh commented 9 years ago

This has been fixed