So I kept having issues with connectivity in the docker system I run on my laptop. Couldn’t get it to pull images, build or whatever I needed to do.
$ docker build . Sending build context to Docker daemon 13.61 MB Step 1/9 : FROM ubuntu:latest Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.88.1:53: read udp 10.0.2.15:60485->192.168.88.1:53: i/o timeout
Turns out my docker machine was a bit special - probably because I hop between different networks fairly regularly.
$ docker-machine provision default $ docker-machine restart default $ eval $(docker-machine env default)
This seems to have fixed it - I probably didn’t need to re-provision it - but I don’t run much on here so it’s easy to nuke and start again. :)