docker

关注公众号 jb51net

关闭
首页 > 网站技巧 > 服务器 > 云和虚拟化 > docker > docker运行报错启动守护进程

docker运行报错启动守护进程的解决

作者:大帅说AI

文章主要介绍了在使用Docker时遇到的连接API失败的问题以及解决办法,解决办法包括点击Docker图标启动守护进程,修改Docker Desktop设置页选项,以及定位设置文件进行配置,建议大家参考以上经验并给予支持

docker运行报错

failed to connect to the docker API at npipe:////./pipe/dockerDesktopLinuxEngine; check if the path is correct and if the daemon is running: open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. docker

解决办法

点击图标运行,启动守护进程

Change your Docker Desktop settings
Page options
To navigate to Settings either:

Select the Docker menu whale menu and then Settings
Select the Settings icon from the Docker Desktop Dashboard.
You can also locate the settings-store.json file (or settings.json for Docker Desktop versions 4.34 and earlier) at:

Mac: ~/Library/Group\ Containers/group.com.docker/settings-store.json
Windows: C:\Users[USERNAME]\AppData\Roaming\Docker\settings-store.json
Linux: ~/.docker/desktop/settings-store.json
For additional information on settings that can be set in the Docker Desktop Dashboard and by administrators via the Admin Console, see the Settings reference.

总结

以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。

您可能感兴趣的文章:
阅读全文