ERRO[0043] failed to dial gRPC: unable to upgrade

2020-08-14 02:06发布

When I tried building my Dockerfile with docker build -t myimage1 . today I got this error:

ERRO[0043] failed to dial gRPC: unable to upgrade to h2c, received 501
context canceled

I have successfully built this image before although it was a couple of weeks ago. I am not sure whether Docker has been updated in the meantime.

I found a similar error (although not the same - it is error 0044 while mine is 0043) at ERRO[0044] failed to dial gRPC: cannot connect to the Docker daemon

标签: docker
2条回答
Animai°情兽
2楼-- · 2020-08-14 02:40

If you just started Docker daemon, please wait for some time and try again.

查看更多
ゆ 、 Hurt°
3楼-- · 2020-08-14 02:47

You can uninstall and re install Docker, in Windows Platform, to remove the Docker Error. also, if you have not upgraded Docker version, you can do that too, it should remove the error.

查看更多
登录 后发表回答