Docker warning: failed to get default registry endpoint from daemon

故事扮演 提交于 2019-12-03 22:43:42

I got the same error running Docker for Windows on Windows 10 Pro. The solution was to open the Docker settings and turn on the Daemon. Right-click on the taskbar icon and choose settings. Then, turn on the daemon per the image below.

You probably use Docker for Windows OpenSource solution to have Docker running on Windows 10. In that case, the reason is that your docker CLI cannot work without daemon. Run the Docker daemon (you probably have an icon on your desktop) and once it reports that it is ready, try again your commands.

I just restarted docker on Windows from the tray icon, right-click, then "Restart".

This got resolved for me and was able to install once Right Click Docker icon on task bar and clicked on "Switch to Windows Container"

I am getting this error too. I had installed docker via the docker toolbox. Had tried the docker windows installer but it said I needed the pro version of windows 10 (had the win10 home version).

Anyways, if I run the commands via the Docker Quickstart Terminal, this problem goes away. ie. use Docker Quickstart Terminal instead of your command prompt.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!