Docker build: 无法连接到 Docker 守护程序
- 论坛
- Docker build: 无法连接到 Docker 守护程序
15 浏览
Docker build: 无法连接到 Docker 守护程序
我一直在尝试按照这个教程使用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."