I have a repo on ECS, have created a cluster using ecs-cli
ecs-cli configure --region=us-west-2 --profile=<MY PROFILE> --cluster=cluster-1
ecs-cli up --capability-iam --keypair=<MY KEYPAIR>
but then the next step to execute the compose file is when it fails
ecs-cli compose --file docker-compose.yml --project-name drafter-project service up
Here's my docker-compose.yml file:
version: '2'
services:
rabbit:
image: rabbitmq
hostname: rabbit1
ports:
- 5672:5672
- 15672:15672
drafter:
build: .
depends_on:
- rabbit
the errors i get here are:
Error registering task definition
error=ClientException: Container.image should not be null or empty.
Create task definition failed
error=ClientException: Container.image should not be null or empty.
I'm not sure what task definitions are or what it needs.