使用aws-sam-cli时出错|无法将Docker映像拉到公司代理后面

问题描述

我使用sam cli创建了一个基于Go的Hello World Lambda

sam init

并构建它

sam build

尝试在工作场所本地运行时出现错误

sam local invoke                                                                                           
Invoking hello-world (go1.x)
Image was not found.
Building image.....
Error: Could not find amazon/aws-sam-cli-emulation-image-go1.x:rapid-1.1.0 image locally and Failed to pull it from docker.

我的公司有一个dockerhub的人工代理。我可以使用aws-sam-cli设置来设置docker代理地址吗?

解决方法

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

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

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