amazon-web-services - 无法将私有映像从 Artifactory 拉到 AWS Fargate
问题描述
我在将私有图像从 Artifactory 拉到 AWS Fargate 时遇到问题。它显示错误“访问冲突”。有人在 AWS Fargate 中运行任务时遇到同样的错误吗?
状态原因:CannotPullContainerError:API 错误(500):获取https://xxx.artifactory.xx:xxx/v2/:访问冲突
解决方案
此问题已在 Fargate 平台版本‐1.3.0 中修复。
在 1.3.0 中,与 Secrets 支持一起,AWS 修复了从私有注册表中提取图像的问题,该私有注册表在 443 以外的 HTTPS 端口上运行。
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html