amazon-web-services - 无法启动环境:应用程序版本不可用,无法与环境一起使用

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

我正在按照本教程https://prakhar.me/docker-curriculum/进行操作,并尝试创建和EBS组件。

对于Application version,我正在上传一个名为Dockerrun.aws.json的文件,其内容如下:

{
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "myDockerHubId/catnip",
    "Update": "true"
  },
  "Ports": [
    {
      "ContainerPort": "5000"
    }
  ],
  "Logging": "/var/log/nginx"
} 

但是,我遇到了这个问题:
Error
Could not launch environment: Application version is unusable and cannot be used with an environment

知道为什么配置文件不好吗?

最佳答案

我很确定这张图片

myDockerHubId/catnip

在dockerhub上不存在。

确保您尝试使用dockerhub中存在的docker镜像。

关于amazon-web-services - 无法启动环境:应用程序版本不可用,无法与环境一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41077815/

相关文章:

amazon-web-services - 仅使用 cloudformation 在默认公有子网中创建 EC2

node.js - 在 NodeJS Docker 容器中写入日志文件

docker - 无法让远程 Hazelcast 客户端连接到在 docker 容器中运行的集群

amazon-web-services - 在没有负载均衡器的情况下将 DNS (Route 53) 路由到 Elastic Beanstalk 应用程序

java - ElasticBeanstalk - 更改 java.security?

amazon-web-services - AWS EB + Nginx,更新 access.log 格式或创建新日志

javascript - Flowplayer 设置来自 Amazon S3 的 .flv 视频的开始时间

python - Boto3 S3 : Get files without getting folders

amazon-web-services - 亚马逊调查/管理员是否有正当理由

docker - 如何在Docker中公开从主机到容器的端口?