title: Invalid Dockerrun.aws.json file
body: <p>I tried using <a href="https://github.com/micahhausler/container-transform" rel="nofollow noreferrer">this package</a> to generate a working <code>Dockerrun.aws.json</code> file. However, I'm running into some issues. </p>
  
  <p>Dockerrun.aws.json</p>
  
  <pre><code>{
      "containerDefinitions": [
          {
              "command": [
                  "./wait-for-it.sh",
                  "db:5432",
                  "--",
                  "./EXECUTABLE"
              ],
              "essential": true,
              "image": "gregpmillr/IMG",
              "memory": 512,
              "links": [
                  "db"
              ],
              "name": "app",
              "portMappings": [
                  {
                      "containerPort": 8080,
                      "hostPort": 443
                  }
              ]
          },
          {
              "environment": [
                  {
                      "name": "POSTGRES_DB",
                      "value": "db"
                  },
                  {
                      "name": "POSTGRES_USER",
                      "value": "dbuser"
                  },
                  {
                      "name": "POSTGRES_PASSWORD",
                      "value": "dbpw"
                  }
              ],
              "essential": true,
              "image": "postgres",
              "memory": 512,
              "name": "db",
              "portMappings": [
                  {
                      "containerPort": 5432,
                      "hostPort": 6000
                  }
              ]
          }
      ],
      "family": "",
      "volumes": []
  }
  </code></pre>
  
  <p>After running <code>eb deploy</code> I get the error: </p>
  
  <blockquote>
    <p>ERROR   Invalid Dockerrun.aws.json version, abort deployment</p>
  </blockquote>
  
  <p>Any ideas why this may be incorrect? </p>