【发布时间】:2016-06-17 18:41:14
【问题描述】:
我尝试将 fluentd 日志驱动程序与以下 Dockerrun.aws.json 一起使用,
{ “AWSEBDockerrunVersion”:2, “容器定义”:[ { “名称”:“阿帕奇”, "图像": "php:5.6-apache", “基本”:是的, “记忆”:128, “端口映射”:[ { “主机端口”:80, “容器端口”:80 } ], “日志配置”:{ “logDriver”:“流利的”, “选项”: { “流利地址”:“127.0.0.1:24224” } } } ] }但出现以下错误。
ERROR: Encountered error starting new ECS task: {cancel the command.
"failures": [
{
"reason": "ATTRIBUTE",
"arn": "arn:aws:ecs:ap-northeast-1:000000000000:container-instance/00000000-0000-0000-0000-000000000000"
}
],
"tasks": []
}
ERROR: Failed to start ECS task after retrying 2 times.
ERROR: [Instance: i-00000000] Command failed on instance. Return code: 1 Output: beanstalk/hooks/appdeploy/enact/03start-task.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
我应该配置什么?
【问题讨论】:
标签: amazon-web-services docker amazon-elastic-beanstalk