Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Beginners Questions • Re: curl: (6) Could not resolve host: get.docker.com

$
0
0
In case anyone else runs into this problem I finally found a solution that worked. This is from the stack exchange:
"Open your file manager and go to /etc/network/. Once there, you have to edit the file interfaces like this:

sudo gedit /etc/network/interfaces

or

gksu mousepad /etc/network/interfaces

and delete all entries in there except for auto lo / iface lo inet loopback.

The following lines

auto lo
iface lo inet loopback

have to be the only entries present in /etc/network/interfaces.

Next you should edit a second file located in /etc/NetworkManager/NetworkManager.conf. Use this code in a terminal window:

sudo gedit /etc/NetworkManager/NetworkManager.conf

or

gksu mousepad /etc/NetworkManager/NetworkManager.conf

Look for this entry [ifupdown] and edit the entry to look like this:

[ifupdown]
managed=false


After this reboot your system. I used the ping command to confirm my network was working again. After that the docker command worked correctly.

Statistics: Posted by teedo757 — 2024-12-19 18:41



Viewing all articles
Browse latest Browse all 2849

Trending Articles