Docker AWS ECR 从命令行推送失败
Docker AWS ECR push failure from command line
我正在尝试遵循亚马逊 ECR 页面中提供的指南。我根据文档创建了一个存储库。我已经创建了一个本地图像并按照在线所述对其应用了标签。
我已经使用以下命令配置了 aws:aws configure。
毕竟当我尝试执行
aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin <My ID>.dkr.ecr.us-east-2.amazonaws.com
我收到以下错误:
botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the GetAuthorizationToken operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
An error occurred (InvalidSignatureException) when calling the GetAuthorizationToken operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
问题是 运行:
时配置的区域
aws configure
并且在获取登录密码中配置的区域不是同一个区域
我正在尝试遵循亚马逊 ECR 页面中提供的指南。我根据文档创建了一个存储库。我已经创建了一个本地图像并按照在线所述对其应用了标签。 我已经使用以下命令配置了 aws:aws configure。
毕竟当我尝试执行
aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin <My ID>.dkr.ecr.us-east-2.amazonaws.com
我收到以下错误:
botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the GetAuthorizationToken operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
An error occurred (InvalidSignatureException) when calling the GetAuthorizationToken operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
问题是 运行:
时配置的区域aws configure
并且在获取登录密码中配置的区域不是同一个区域