Elastic Beanstalk Docker图像无法拉动

时间:2017-04-25 15:42:08

标签: python amazon-web-services docker amazon-elastic-beanstalk

我正在升级我们的某个EB环境并使用python:3.6.1-alpine作为新的Docker镜像。问题是Elastic Beanstalk无法找到3.6.1-alpine

的docker镜像标记
Pulling repository docker.io/library/python
Tag 3.6.1-alpine not found in repository docker.io/library/python. Check snapshot logs for detail

然后在本地拉图像确实有效:

(env)lappy:project dave$ docker pull python:3.6.1-alpine
3.6.1-alpine: Pulling from library/python
709515475419: Already exists
7f8ede2d2484: Already exists
3f793c092168: Pull complete
a2a8b8745877: Pull complete
Digest: sha256:6ebe18fd00f5175b5f1fe45bfb131f22f5d997f4fe361546cf0a13de396b8009
Status: Downloaded newer image for python:3.6.1-alpine

我不确定发生了什么,因为这是Beanstalk中已有近一年在线的现有应用程序。

1 个答案:

答案 0 :(得分:0)

我找到了问题的解决方案。我重建了我的Elastic Beanstalk环境,我可以在实例上sudo docker pull python:3.6-alpine。我不知道这个问题的原因或者为什么它在重建时突然起作用,但这确实解决了这个问题。

相关问题