Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 弹性Beanstalk Docker图像拉不动_Python_Amazon Web Services_Docker_Amazon Elastic Beanstalk - Fatal编程技术网

Python 弹性Beanstalk Docker图像拉不动

Python 弹性Beanstalk Docker图像拉不动,python,amazon-web-services,docker,amazon-elastic-beanstalk,Python,Amazon Web Services,Docker,Amazon Elastic Beanstalk,我正在升级我们的一个电子商务环境,并使用python:3.6.1-alpine作为新的Docker映像。问题是Elastic Beanstalk无法找到3.6.1-alpine Pulling repository docker.io/library/python Tag 3.6.1-alpine not found in repository docker.io/library/python. Check snapshot logs for detail 但是,在本地拖动图像确实有效: (e

我正在升级我们的一个电子商务环境,并使用
python:3.6.1-alpine
作为新的Docker映像。问题是Elastic Beanstalk无法找到
3.6.1-alpine

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中的一个现有应用程序,已经在线将近一年了。

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