ClientException:Container.image不应为null或为空AWS ECS

时间:2018-11-15 07:03:32

标签: amazon-web-services docker-compose amazon-ecs

我正在尝试使用ecs-cli将服务移至AWS ECS,但它们会因错误而失败

ClientException: Container.image should not be null or empty

docker-compose文件位于https://github.com/eventuate-examples/eventuate-examples-restaurant-management.git

ecs-cli compose up WARN[0000] The DOCKER_HOST_IP variable is not set. Substituting a blank string. WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=zookeeper WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=cdcservice WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=kafka WARN[0000] Environment variable is unresolved. Setting it to a blank value... key name=ADVERTISED_HOST_NAME WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=mysql WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=redis WARN[0000] Skipping unsupported YAML option for service... option name=build service name=restaurants WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=restaurants WARN[0000] Skipping unsupported YAML option for service... option name=build service name=restaurantsview WARN[0000] Skipping unsupported YAML option for service... option name=networks service name=restaurantsview ERRO[0000] Error registering task definition error="ClientException: Container.image should not be null or empty.\n\tstatus code: 400, request id: 5fac2301-e8a3-11e8-bbf8-d73777446b76" family=opt ERRO[0000] Create task definition failed error="ClientException: Container.image should not be null or empty.\n\tstatus code: 400, request id: 5fac2301-e8a3-11e8-bbf8-d73777446b76" FATA[0000] ClientException: Container.image should not be null or empty. status code: 400, request id: 5fac2301-e8a3-11e8-bbf8-d73777446b76

0 个答案:

没有答案