debuggingElastic Beanstalk Docker运行失败?
我是EB和AWS的新手,我的Docker镜像可以正常工作,但无法在Elastic Beanstalk上运行。 我的怀疑是,他们没有正确连接到数据库,但是,我没有得到任何有用的,当我从命令行运行“eb日志”。 这里是错误:
{ "status": "FAILURE", "api_version": "1.0", "results": [ { "status": "FAILURE", "msg": "(TRUNCATED)...rrun.aws.json: No such file or directory 73927c49adff622a1a229d9369bdd80674d96d20f3eb99a9cdea786f4411a368 Docker container quit unexpectedly after launch: Docker container quit unexpectedly on Wed May 20 17:15:02 UTC 2015:. Check snapshot logs for details. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/04run.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI", "returncode": 1, "events": [ { "msg": "Successfully pulled node:0.12.2-slim", "severity": "TRACE", "timestamp": 1432142064 }, { "msg": "Successfully built aws_beanstalk/staging-app", "severity": "TRACE", "timestamp": 1432142094 }, { "msg": "Docker container quit unexpectedly after launch: Docker container quit unexpectedly on Wed May 20 17:15:02 UTC 2015:. Check snapshot logs for details.", "severity": "ERROR", "timestamp": 1432142102 } ] } ], "truncated": "true" }
在构build完成后:
[2015-05-20T17:15:02.694Z] INFO [8603] - [CMD-AppDeploy/AppDeployStage0/AppDeployPreHook/04run.sh] : Activity execution failed, because: cat: /var/app/current/Dockerrun.aws.json: No such file or directory cat: /var/app/current/Dockerrun.aws.json: No such file or directory 73927c49adff622a1a229d9369bdd80674d96d20f3eb99a9cdea786f4411a368 Docker container quit unexpectedly after launch: Docker container quit unexpectedly on Wed May 20 17:15:02 UTC 2015:. Check snapshot logs for details. (ElasticBeanstalk::ExternalInvocationError) caused by: cat: /var/app/current/Dockerrun.aws.json: No such file or directory cat: /var/app/current/Dockerrun.aws.json: No such file or directory 73927c49adff622a1a229d9369bdd80674d96d20f3eb99a9cdea786f4411a368 Docker container quit unexpectedly after launch: Docker container quit unexpectedly on Wed May 20 17:15:02 UTC 2015:. Check snapshot logs for details. (Executor::NonZeroExitStatus)
docker集装箱在当地工作,所以我还能做些什么来弄清楚什么是错的? 我一直听说“快照日志”,但我在哪里检查这些快照日志? 他们是我已经运行“eb日志”的输出?
- dockerbuild设失败 – “无法分配内存”
- 如何在http nginx dockerpopup的beanstalk中将httpredirect到https
- 在Elastic Beanstalk Docker容器上运行非www内容
- 具有Docker和持久存储的弹性Beanstalk
- AWS Docker Golang。 'eb deploy'错误
- 如果我移动Elastic Beanstalk应用程序以使用Docker,是否需要自己的服务器?
- 如何在单个容器Docker环境上的Amazon Elastic Beanstalk上部署Rails应用程序
- 在Elastic Beanstalk / Docker Nginx / PHP-FPM实例中访问客户端IP
- AWS Elastic Beanstalk忽略了我的Dockerrun.aws.json文件