Questions tagged «aws-ecr»

30
无法将图像推送到Amazon ECR-失败,并显示“没有基本身份验证凭证”
我正在尝试将Docker映像推送到Amazon ECR注册表。我正在使用Docker客户端Docker 1.9.1版本build a34a1d5。我aws ecr get-login --region us-east-1用来获取docker登录凭据。然后,我使用这些凭据成功登录,如下所示: docker login -u AWS -p XXXX -e none https://####.dkr.ecr.us-east-1.amazonaws.com WARNING: login credentials saved in /Users/ar/.docker/config.json Login Succeeded 但是,当我尝试推送图像时,出现以下错误: $ docker push ####.dkr.ecr.us-east-1.amazonaws.com/image:latest The push refers to a repository [####.dkr.ecr.us-east-1.amazonaws.com/image] (len: 1) bcff5e7e3c7c: Preparing Post https://####.dkr.ecr.us-east-1.amazonaws.com/v2/image/blobs/uploads/: no basic auth credentials 我确保aws用户具有正确的权限。我还确保存储库允许该用户推送到该存储库。为了确保这不是问题,我将注册表设置为允许所有用户完全访问。没有任何改变"no basic auth …

5
码头工人登录未知速记标志:'e'
我刚刚更新了docker版本并找到了该命令 aws ecr get-login 不再工作了。得到错误: 未知速记标志:-e中的'e'。似乎docker不支持-e标志了。 有没有办法解决这个问题? 安装版本: aws-cli/1.11.111 Python/2.7.10 Darwin/16.6.0 botocore/1.5.74 Docker version 17.06.0-ce-rc5, build b7e4173
121 docker  aws-ecr 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.