Known issues

ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

# Solution
sudo service docker start

docker Err http://deb.debian.org Jessie InRelease

  • Try to execute the command nslookup duckduckgo.com 8.8.8.8 . If the message ;; connection timed out; no servers could be reached appears

  • Then edit your daemon.json

# sudo vim /etc/docker/daemon.json

{
    "dns": ["8.8.8.8", "8.8.4.4"]
}
  • Restart the Docker service

sudo service docker restart

Docker build “Could not resolve ‘archive.ubuntu.com’” apt-get fails to install anything

This doesn't address the underlying issue, but I had success adding --network=host to the docker build command.

sudo docker build --network=host -t my-docker-image .. 

By default Docker uses 172.17.0.0/16. This can conflict with the IP range you use for your cloud subnet range

Step 1: SSH into the Hyperglance Instance/VM

Step 2: edit /etc/docker/daemon.json

You need to add "bip": "172.26.0.1/16" to the JSON in daemon.json

The JSON will look like this after you amend. NOTE remember to add the ',' at the end of the second last '}'.

Step 3: Restart Docker

Step 4: Check the routing table

The docker containers will restart and it should then start to collect!

Could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

Note: when using OpenVPN, disable it first.

Last updated

Was this helpful?