lookup registry-1.docker.io: no such host

后端 未结 7 627
旧巷少年郎
旧巷少年郎 2020-12-06 10:10

I have docker daemon running on my Ubuntu 16.4 server

my server details:

No LSB modules are available. Distributor ID: Ubuntu Description:

7条回答
  •  悲哀的现实
    2020-12-06 10:17

    I solve the error changing DNS server by 8.8.8.8 - Ubuntu 18.04.3 LTS

    1- Open the Ubuntu System Settings and Navigate to Network

    2- Click the on the setting button next to the Network name in the list to which you are connected.

    3- New Window will open with a lot number of tabs, with one of them with the label of “IPv4”.

    4- Upon opening the “IPv4” Tab you will find a Field of “DNS”. Here you can write the DNS server

    If you want to use more than one DNS, then you can enter and separate them with a comma.

提交回复
热议问题