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 啟動 Centos 映象 提示"Error response from daemon: No command specified"DockerCentOSError
- docker 報錯 Error response from daemon: driver failed programming external connectivity on endpoint my...DockerErrorAI
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- 重啟docker服務後,容器啟動報錯:Error response from daemon: id already in useDockerError
- docker pull下載映象報錯Get https://registry-1.docker.io/v2/library/centos/manifests/latest:..... timeoutDockerHTTPCentOS
- Error response from daemon: user declined directory sharing G:Config-Centerconfig acos-server.propertiesErrorServer
- response from oracleOracle
- how to get sharepoint lookup value
- ORA-600 Lookup Error CategoriesErrorGo
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404HTTP
- An error from listenerError
- TCP TCP/IP HTTP HTTPSTCPHTTP
- Get data style from ExcelExcel
- get_data_from_yml
- No Response from the Server, Does it Hang or Spin? (Doc ID 68738.1)Server
- https/tcp ssh/tlsHTTPTCPTLS
- Get your Windows product key from a scriptWindows
- android studio Error:Unable to start the daemon process【轉】AndroidError
- Troubleshoot an ORA-7445 Error Using the ORA-7445 Lookup ToolError
- jedis異常:Could not get a resource from the pool
- How to get ORACLE_HOME from data dictionaryOracle
- psql: symbol lookup error: ./psql: undefined symbol: PQsetErrorContextVisibilitySQLSymbolErrorUndefinedContext
- tar: Error exit delayed from previous errorsError
- Http failure response 0 Unknown error 錯誤分析HTTPAIError
- Get All IE Info from win32 apiWin32API
- wsl docker 安裝frp內網穿透出現error: dial tcp 127.0.0.1:xxxx: connect: connection refused解決方法DockerFRP內網穿透ErrorTCP127.0.0.1
- 5-SIM資料互動之-C0(GET RESPONSE)
- error:unable to get logical block size for spfileErrorBloC
- HTTPS 工作原理和 TCP 握手機制HTTPTCP
- Got error 28 from storage engine 解決方法GoError
- oracle OGG-01232 Receive TCP params error:TCP/IP error 232(connection reset)OracleTCPError
- You do not have permission to get URL ‘/’ from this server解決方案Server
- 023 Given an integer n. get the number of 0, 2, 4 from all the values from [0, n]