Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the docker image pull error Error response from daemon

Shulou Source: shulou.com Published: 2022-06-02 09:47:09 11月15日 Update

This article mainly explains the "docker image pull error Error response from daemon how to solve", the article explains the content is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "docker image pull error Error response from daemon how to solve" it!

The error is that the network cannot be connected and the hosts address needs to be configured locally.

The connection address can be obtained from the command: dig @ 114.114.114.114 registry-1.docker.io.

However, windows generally does not come with the dig command. You need to install dig,dig, which is just a module of the bind application. Download bind first:

Bind download address

Then copy the dig.exe and all other dll files to the C:\ Windows\ System32 directory.

Then run dig @ 114.114.114.114 registry-1.docker.io in cmd to get the address you can connect to.

Under the C:\ Windows\ System32\ drivers\ etc path of windows: file-- > windows powershell-- > Open windows powershell as an administrator

Run: notepad. / hosts

Then in the open hosts file, fill in the ip address mapping queried by the dig command at the end of the hosts file, for example:

52.87.94.70 registry-1.docker.io

Save.

Then run in windows powershell: ipconfig / flushdns refresh network configuration restart docker and ok

Thank you for your reading. The above is the content of "how to solve the docker image pull error Error response from daemon". After the study of this article, I believe you have a deeper understanding of how to solve the problem of docker image pull error Error response from daemon. The specific use situation still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Errors addresses images files commands learning running content network configuration just that is ideas situations articles more endings modules directories knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker Shulou Technology Redmi OPPO Reno