If you see this on , the internal VM networking might be hung. Temporary failure in name resolution [Errno -3] with Docker
: Create a file at /etc/apt/apt.conf.d/proxy.conf and add your proxy details. 4. Fix Repository Source Errors
Sometimes the automatic script adds the wrong OS codename to your sources list.
If you can ping IP addresses but not domain names, your DNS resolver is the culprit. You can force the Docker daemon to use reliable public DNS servers like Google's. Open (or create) the Docker daemon configuration file : sudo nano /etc/docker/daemon.json Use code with caution. Add the following lines to the file: { "dns": ["8.8.8.8", "8.8.4.4"] } Use code with caution. Restart the Docker service to apply changes: sudo systemctl restart docker Use code with caution. 3. Check for Proxy Issues