ERRO [0043]无法拨打gRPC:无法升级到h2c,收到501 [英] ERRO[0043] failed to dial gRPC: unable to upgrade to h2c, received 501
本文介绍了ERRO [0043]无法拨打gRPC:无法升级到h2c,收到501的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
今天,当我尝试使用 docker build -t myimage1构建我的Dockerfile时。
我收到此错误:
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
虽然是几周前,但我已经成功构建了此图像。我不确定Docker是否已同时更新。
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.
我在<上发现了一个类似的错误(尽管不尽相同-我是0043时是错误0044)。 a href = https://stackoverflow.com/questions/55308947/erro0044-failed-to-dial-grpc-cannot-connect-to-the-docker-daemon/58731161#58731161> ERRO [0044]拨号失败gRPC:无法连接到Docker守护程序
推荐答案
如果您刚刚启动Docker守护程序,请等待一段时间,然后再试一次。
If you just started Docker daemon, please wait for some time and try again.
这篇关于ERRO [0043]无法拨打gRPC:无法升级到h2c,收到501的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文