Error when trying to provision the devbox
I get the following error when running the install script locally on my mac.
Unable to find image 'scorpil/rust:latest' locally Pulling repository docker.io/scorpil/rust docker: Error while pulling image: Get https://index.docker.io/v1/repositories/scorpil/rust/images: dial tcp: lookup index.docker.io on 192.168.64.1:53: read udp 192.168.64.2:57351->192.168.64.1:53: read: connection refused. See 'docker run --help'. FAIL
The FS-EventBridge installer has failed. Please correct and run this script again.
Hmm, that is happening when the FS-EventBridge installer takes over. Its first step is to launch a rust container from the docker hub in which to compile itself. Yours failed when it was trying to connect to docker hub to pull that container.
What's strange about this is that it doesn't appear to be an issue with connecting to docker hub -- it looks like it's failing to connect to your local network's DNS server to look up the IP for docker hub. Perhaps try to a different network, or with different DNS settings? It's also absolutely possible that a second attempt will work just fine.
The DevBox script is perfectly safe to run multiple times though, so give it a shot and see if you can get past that DNS server!
I had this same problem and saw that the networking inside docker-machine has some problems.
After getting shell into the docker-machine:
$ docker-machine ssh devbox
I was able to resolve google.com:
$ ping google.com
PING google.com (216.58.212.14): 56 data bytes
but it didn't receive any packets.
I have already had these problems in multiple different wifi environments with docker-machine before changing to docker-for-mac six months ago.
I agree that the filesystem mounts are super slow on docker-for-mac but the networking over there is quite awesome.
@TomFrost multiple retries on running the install script lead to the same error I mentioned above. This seems to be a networking issue with docker-machine. I'm not behind a proxy or VPN. I'm just running from a standard broadband connection. Outside of the vm i can pull rust without issue.
@onnimonni if I ssh in to the machine and run ping on google.com I get this:
ping google.com
ping: bad address 'google.com'
Interesting interesting... I wish I knew how to replicate this. For what it's worth, if you know the networking config that needs to be passed to the xhyve driver in your case to make it work, it would be very easy to edit that in-- but in the meantime, I'll explore the feasibility of setting up NFS and FS-EventBridge on Docker for Mac's xhyve VM to expose that as an alternative.