title: Trouble deploying docker on AWS with ecs-cli
body: <p>I have a repo on ECS, have created a cluster using ecs-cli</p>
  
  <p><code>ecs-cli configure --region=us-west-2 --profile=&lt;MY PROFILE&gt; --cluster=cluster-1</code></p>
  
  <p><code>ecs-cli up --capability-iam --keypair=&lt;MY KEYPAIR&gt;</code></p>
  
  <p>but then the next step to execute the compose file is when it fails</p>
  
  <p><code>ecs-cli compose --file docker-compose.yml --project-name drafter-project service up</code></p>
  
  <p>Here's my docker-compose.yml file:</p>
  
  <pre><code>version: '2'
  services:
    rabbit:
      image: rabbitmq
      hostname: rabbit1
      ports:
         - 5672:5672
         - 15672:15672
    drafter:
      build: .
      depends_on: 
        - rabbit
  </code></pre>
  
  <p>the errors i get here are: </p>
  
  <pre><code>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.
  </code></pre>
  
  <p>I'm not sure what task definitions are or what it needs.</p>