Docker构建:无法连接到Docker Daemon

问题描述

我一直在尝试遵循此tutorial来使用docker容器化golang应用程序。但是,一旦尝试构建docker映像,就会遇到麻烦。当我在终端中运行以下命令:docker build -t my-go-app .时出现错误

time="2020-10-07T10:00:53-07:00" level=error msg="Failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 192.168.99.100:2376: connectex: A connection attempt Failed because the connected party did not properly respond after a period of time,or established connection Failed because connected host has Failed to respond."

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)