Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
異常說明
完整的報錯內容:
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:58255->[::1]:53: read: connection refused。大概也可以看出是連線拒絕,直接原因是域名解析出現問題
需要對物理機上的系統檔案進行修改,配置相對應的DNS伺服器114.114.114.114或者8.8.8.8
具體做法
找到虛擬機器的 ifcfg-eth1檔案修改內容
vi ifcfg-eth1
NM_CONTROLLED=yes
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.56.10
NETMASK=255.255.255.0
GATEWAY=192.168.56.1
DNS1=114.114.114.114
DNS2=8.8.8.8
DEVICE=eth1
PEERDNS=no
然後docker就可以正常的拉取映象
相關文章
- Error response from daemon: Get "https://registry-1.docker.io/v2/": netErrorHTTPDocker
- 解決docker: Error response from daemon故障DockerError
- docker無法拉取(pull)映象Error response from daemonDockerError
- 解決docker啟動映象報錯:docker: Error response from daemonDockerError
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- Error response from daemon: user declined directory sharing G:Config-Centerconfig acos-server.propertiesErrorServer
- 重啟docker服務後,容器啟動報錯:Error response from daemon: id already in useDockerError
- docker pull下載映象報錯Get https://registry-1.docker.io/v2/library/centos/manifests/latest:..... timeoutDockerHTTPCentOS
- Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404HTTP
- psql: symbol lookup error: ./psql: undefined symbol: PQsetErrorContextVisibilitySQLSymbolErrorUndefinedContext
- wsl docker 安裝frp內網穿透出現error: dial tcp 127.0.0.1:xxxx: connect: connection refused解決方法DockerFRP內網穿透ErrorTCP127.0.0.1
- get_data_from_yml
- android studio Error:Unable to start the daemon process【轉】AndroidError
- oracle OGG-01232 Receive TCP params error:TCP/IP error 232(connection reset)OracleTCPError
- jedis異常:Could not get a resource from the pool
- Http failure response 0 Unknown error 錯誤分析HTTPAIError
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- 023 Given an integer n. get the number of 0, 2, 4 from all the values from [0, n]
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- PSQLException: ERROR: failed to find conversion function from unknown to charSQLExceptionErrorAIFunction
- linuxmint apt-get install error:Depends...?Linuxapt-getError
- 5-SIM資料互動之-C0(GET RESPONSE)
- redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolRedisclientException
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- [20201110]How to get the Data Guard broker configuration from a SQL query.txtSQL
- ImportError: cannot import name 'get_ora_doc' from partially initialized moduleImportErrorZed
- configure: error: libcurl >= 7.28.0 library and headers are required with support for httpsErrorHeaderUIHTTP
- error:14090086:SSL routines:ssl3_get_server_certificateErrorServer
- 解決 java 實體中用 LocalDateTime 在轉換時候報錯 Error attempting to get column ‘XXX’ from result set. Cause: java.sql.JavaLDAErrorSQL
- ascp: Failed to open TCP connection for SSH, exiting. Session Stop (Error: Failed to open TCP connection for SSH)AITCPSessionError
- Serial number lookup for Panasonic
- 使用CloseableHttpClient 訪問 http 和https 的get請求HTTPclient
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- JSON parse error: Cannot deserialize value of type `java.time.LocalDateTime` from StringJSONErrorJavaLDA
- 筆記:網路基礎TCP、HTTP、HTTPS(HTTP+SSL)筆記TCPHTTP
- 網路協議 - TCP/IP、HTTP、HTTPS、HTTP2.0協議TCPHTTP
- Dial!List for Mac呼叫管理器Mac
- http和https的區別/get和post的區別HTTP