title: ECS "InternalError: failed to normalize image reference"
body: <p>We have a docker images being stored in ECR, some have come from a TC build agent and some have come from builds on local developer machines. All images can be pulled an run locally but when trying to start the images built on the build TC build agents we get the following error when the ECS cluster starts running the task.</p>
  <p><code>InternalError: failed to normalize image reference &quot;http://xxx.eu-west-1.amazonaws.com/events/name-of-contianer:tag&quot;</code></p>
  <p>I can't seem to find any additional info in the logs, or mention of an error for normalize in any of the ECS docs. Has anyone experienced this error, or even know what it means!</p>
  <hr />
  <p>ECS Task Definition:</p>
  <pre><code>{
    &quot;ipcMode&quot;: null,
    &quot;executionRoleArn&quot;: &quot;arn:aws:iam::xxxxxxxxxxxx:role/ecsTaskExecutionRole&quot;,
    &quot;containerDefinitions&quot;: [
      {
        &quot;dnsSearchDomains&quot;: null,
        &quot;environmentFiles&quot;: null,
        &quot;logConfiguration&quot;: null,
        &quot;entryPoint&quot;: null,
        &quot;portMappings&quot;: [
          {
            &quot;hostPort&quot;: 80,
            &quot;protocol&quot;: &quot;tcp&quot;,
            &quot;containerPort&quot;: 80
          }
        ],
        &quot;command&quot;: null,
        &quot;linuxParameters&quot;: null,
        &quot;cpu&quot;: 0,
        &quot;environment&quot;: [
          {
            &quot;name&quot;: &quot;ServiceConfiguration__BasePath&quot;,
            &quot;value&quot;: &quot;/mobile-read-model&quot;
          },
          {
            &quot;name&quot;: &quot;ServiceConfiguration__Version&quot;,
            &quot;value&quot;: &quot;0.1.0&quot;
          }
        ],
        &quot;resourceRequirements&quot;: null,
        &quot;ulimits&quot;: null,
        &quot;dnsServers&quot;: null,
        &quot;mountPoints&quot;: [],
        &quot;workingDirectory&quot;: null,
        &quot;secrets&quot;: null,
        &quot;dockerSecurityOptions&quot;: null,
        &quot;memory&quot;: null,
        &quot;memoryReservation&quot;: null,
        &quot;volumesFrom&quot;: [],
        &quot;stopTimeout&quot;: null,
        &quot;image&quot;: &quot;http://xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/events/mobile-app-read-model:0.1.0-blank-read-model0011&quot;,
        &quot;startTimeout&quot;: null,
        &quot;firelensConfiguration&quot;: null,
        &quot;dependsOn&quot;: null,
        &quot;disableNetworking&quot;: null,
        &quot;interactive&quot;: null,
        &quot;healthCheck&quot;: {
          &quot;retries&quot;: 1,
          &quot;command&quot;: [
            &quot;CMD-SHELL&quot;,
            &quot;curl -f http://localhost/health || exit 1&quot;
          ],
          &quot;timeout&quot;: 5,
          &quot;interval&quot;: 30,
          &quot;startPeriod&quot;: 60
        },
        &quot;essential&quot;: true,
        &quot;links&quot;: null,
        &quot;hostname&quot;: null,
        &quot;extraHosts&quot;: null,
        &quot;pseudoTerminal&quot;: null,
        &quot;user&quot;: null,
        &quot;readonlyRootFilesystem&quot;: false,
        &quot;dockerLabels&quot;: null,
        &quot;systemControls&quot;: null,
        &quot;privileged&quot;: null,
        &quot;name&quot;: &quot;mobile-read-model&quot;
      }
    ],
    &quot;placementConstraints&quot;: [],
    &quot;memory&quot;: &quot;512&quot;,
    &quot;taskRoleArn&quot;: &quot;arn:aws:iam::xxxxxxxxxxxx:role/ecsTaskExecutionRole&quot;,
    &quot;compatibilities&quot;: [
      &quot;EC2&quot;,
      &quot;FARGATE&quot;
    ],
    &quot;taskDefinitionArn&quot;: &quot;arn:aws:ecs:eu-west-1:xxxxxxxxxxxx:task-definition/mobile-app-readmodel:55&quot;,
    &quot;family&quot;: &quot;mobile-app-readmodel&quot;,
    &quot;requiresAttributes&quot;: [
      {
        &quot;targetId&quot;: null,
        &quot;targetType&quot;: null,
        &quot;value&quot;: null,
        &quot;name&quot;: &quot;com.amazonaws.ecs.capability.task-iam-role&quot;
      },
      {
        &quot;targetId&quot;: null,
        &quot;targetType&quot;: null,
        &quot;value&quot;: null,
        &quot;name&quot;: &quot;ecs.capability.container-health-check&quot;
      },
      {
        &quot;targetId&quot;: null,
        &quot;targetType&quot;: null,
        &quot;value&quot;: null,
        &quot;name&quot;: &quot;com.amazonaws.ecs.capability.docker-remote-api.1.18&quot;
      },
      {
        &quot;targetId&quot;: null,
        &quot;targetType&quot;: null,
        &quot;value&quot;: null,
        &quot;name&quot;: &quot;ecs.capability.task-eni&quot;
      },
      {
        &quot;targetId&quot;: null,
        &quot;targetType&quot;: null,
        &quot;value&quot;: null,
        &quot;name&quot;: &quot;com.amazonaws.ecs.capability.docker-remote-api.1.29&quot;
      }
    ],
    &quot;pidMode&quot;: null,
    &quot;requiresCompatibilities&quot;: [
      &quot;FARGATE&quot;
    ],
    &quot;networkMode&quot;: &quot;awsvpc&quot;,
    &quot;cpu&quot;: &quot;256&quot;,
    &quot;revision&quot;: 55,
    &quot;status&quot;: &quot;ACTIVE&quot;,
    &quot;inferenceAccelerators&quot;: null,
    &quot;proxyConfiguration&quot;: null,
    &quot;volumes&quot;: []
  }
  </code></pre>