Container.image包含无效字符[AWS elastic-beanstalk]

时间:2019-06-18 09:52:00

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

我正在尝试将node.js应用程序部署到Elastic-Beanstalk,我已经设置了travis部署管道。但是应用程序无法部署

Dockerrun.aws.json

{
    "AWSEBDockerrunVersion": 2,
    "containerDefinitions": [
        {
            "name": "server",
            "image": "accountname/image-name",
            "hostname": "api",
            "essential": false,
            "memory": 128
        },
        {
            "name": "nginx",
            "image": "accountname/image-name,",
            "essential": true,
            "portMappings": [{ "hostPort": 80, "containerPort": 80 }],
            "links": ["server"],
            "memory": 128
        }
    ]
}

Service:AmazonECS,代码:ClientException,消息:Container.image包含无效字符。,类:com.amazonaws.services.ecs.model.ClientException

0 个答案:

没有答案