【问题标题】:docker pull no basic auth credentialsdocker pull 没有基本的身份验证凭据
【发布时间】:2020-02-24 05:51:09
【问题描述】:

我尝试使用 docker pull 其他 AWS ec2 实例,但出现以下错误。

(py36) ubuntu@ip-xxx:~$ docker pull xxxxx.dkr.ecr.eu-west-2.amazonaws.com/xxxx/xxxx:latest
Error response from daemon: Get https://xxxxx.dkr.ecr.eu-west-2.amazonaws.com/v2/xxxx/xxxx/xxx/xxxx: no basic auth credentials

我指的是这个 (https://forums.docker.com/t/docker-push-to-ecr-failing-with-no-basic-auth-credentials/17358)。但它没有用,有谁知道如何处理它?

~/.docker/config.json

【问题讨论】:

    标签: docker


    【解决方案1】:

    试试

    --registry-ids <some-id>
    

    基于

    https://stackoverflow.com/questions/56967033/no-basic-auth-credentials-when-trying-to-pull-an-image-from-a-private-ecr/56967315
    

    【讨论】:

      猜你喜欢
      • 2019-08-05
      • 1970-01-01
      • 2019-05-06
      • 1970-01-01
      • 2017-09-29
      • 1970-01-01
      • 2016-11-12
      • 2013-03-19
      • 2011-11-12
      相关资源
      最近更新 更多