具有私有存储库的弹性Beanstalk多容器Docker CannotPullContainerError

以前我使用了一个docker容器弹性beanstalk环境。 它能够使用存储在S3上的我的login凭证从专用docker中心存储库下载容器。 但是,我创build了一个新的多容器泊坞窗环境,从那以后我总是得到错误:

change="{TaskArn:arn:aws:ecs:eu-west-1:188125317072:task/dbf02781-8140-422a-9b81-93d83441747d ContainerName:aws-first-test Status:4 Reason:CannotPullContainerError: Error: image test/awstest:latest not found ExitCode:<nil> PortBindings:[] SentStatus:NONE}" 

(我使用的是与以前一样的容器)

容器确实存在,并且环境与login凭证(爱尔兰)位于同一位置

我的Dockerrun.aws.json:

 { "AWSEBDockerrunVersion": 2, "authentication": { "Bucket": "docker-ireland", "Key": ".dockercfg" }, "containerDefinitions": [ { "name": "aws-first-test", "image": "test/awstest", "memory": 250 }, { "name": "aws-second-test", "image": "test/awstest", "memory": 250 } ] } 

Dockerrun.aws.json是区分大小写的,在版本2.0中,“authentication”,“桶”和“键”的键被改为小写。

这个答案是从亚马逊aws论坛: https ://forums.aws.amazon.com/message.jspa ? messageID = 667098

在我的情况下,这个错误是由于我有我的S3configuration文件中的以下内容:

 { "server" : { "auth" : "*****", "email" : "*****" } } 

不是在开玩笑,我有关键字“服务器”,而不是registryurl服务( https://index.docker.io/v1/为docker)&#x3002;

我必须从一些博客或文档复制idk。 感觉已经转储了。