title: "Invalid configuration for registry" error when executing "eb local run"
body: <p>I think this is a very easy to fix problem, but I just can't seem to solve it! I've spent a good amount of time looking for any leads on Google/SO but couldn't find a solution.</p>
  
  <p>When executing <code>eb local run</code>, I'm getting this error:</p>
  
  <blockquote>
    <p>Invalid configuration for registry</p>
  </blockquote>
  
  <pre><code>$ eb local run                        
  ERROR: InvalidConfigFile :: Invalid configuration for registry 12345678.dkr.ecr.eu-west-1.amazonaws.com
  </code></pre>
  
  <p>The image lines in my <code>Dockerrun.aws.json</code> are as follows:</p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "AWSEBDockerrunVersion": 2,
    "volumes": [
        {
            "name": "frontend",
            "host": {
                "sourcePath": "/var/app/current/frontend"
            }
        },
        {
            "name": "backend",
            "host": {
                "sourcePath": "/var/app/current/backend"
            }
        },
        {
          "name": "nginx-proxy-conf",
          "host": {
            "sourcePath": "/var/app/current/config/nginx"
          }
        },
        {
          "name": "nginx-proxy-content",
          "host": {
            "sourcePath": "/var/app/current/content/"
          }
        },
        {
          "name": "nginx-proxy-ssl",
          "host": {
            "sourcePath": "/var/app/current/config/ssl"
          }
        }
  
    ],
      "containerDefinitions": [
          {
              "name": "backend",
              "image": "123456.dkr.ecr.eu-west-1.amazonaws.com/backend:latest",
              "Update": "true",
              "essential": true,
              "memory": 512,
              "mountPoints": [
                  {
                      "containerPath": "/app/backend",
                      "sourceVolume": "backend"
                  }
              ],
              "portMappings": [
                  {
                      "containerPort": 4000,
                      "hostPort": 4000
                  }
              ],
              "environment": [
                  {
                      "name": "PORT",
                      "value": "4000"
                  },
                  {
                      "name": "MIX_ENV",
                      "value": "dev"
                  },
                  {
                      "name": "PG_PASSWORD",
                      "value": "xxsaxaax"
                  },
                  {
                      "name": "PG_USERNAME",
                      "value": "
                  },
                  {
                      "name": "PG_HOST",
                      "value": "123456.dsadsau89das.eu-west-1.rds.amazonaws.com"
                  },
                  {
                      "name": "FE_URL",
                      "value": "http://develop1.com"
                  }
  
  
              ]
          },
          {
              "name": "frontend",
              "image": "123456.dkr.ecr.eu-west-1.amazonaws.com/frontend:latest",
              "Update": "true",
              "essential": true,
              "memory": 512,
              "links": [
                  "backend"
              ],
              "command": [
                  "npm",
                  "run",
                  "production"
              ],
              "mountPoints": [
                  {
                      "containerPath": "/app/frontend",
                      "sourceVolume": "frontend"
                  }
              ],
              "portMappings": [
                  {
                      "containerPort": 3000,
                      "hostPort": 3000
                  }
              ],
              "environment": [
                  {
                      "name": "REDIS_HOST",
                      "value": "www.eample.com"
                  }
              ]
          },
          {
            "name": "nginx-proxy",
            "image": "nginx",
            "essential": true,
            "memory": 128,
            "portMappings": [
              {
                "hostPort": 80,
                "containerPort": 3000
              }
            ],
            "links": [
                "backend",
                "frontend"
            ],
            "mountPoints": [
              {
                "sourceVolume": "nginx-proxy-content",
                "containerPath": "/var/www/html"
              },
              {
                "sourceVolume": "awseb-logs-nginx-proxy",
                "containerPath": "/var/log/nginx"
              },
              {
                "sourceVolume": "nginx-proxy-conf",
                "containerPath": "/etc/nginx/conf.d",
                "readOnly": true
              },
              {
                "sourceVolume": "nginx-proxy-ssl",
                "containerPath": "/etc/nginx/ssl",
                "readOnly": true
              }
            ]
          }
      ],
      "family": ""
  }
  </code></pre>