title: AWS Elastic Beanstalk is ignoring my Dockerrun.aws.json file
body: <p>I ran a couple of steps to get to a point where I have a pre-built docker image in AWS ECR. When I create a EB stack in AWS using the interface and uploading my <code>Dockerrun.aws.json</code> file, it creates the stack successfully.</p>
  
  <p>Now I am attempting to create a stack via command line instead of the interface but I am bumping to an annoying issue which I am not sure how to resolve.</p>
  
  <p>When running the following command:</p>
  
  <pre><code>$ eb create
  </code></pre>
  
  <p>Instead of it using the <code>Dockerrun.aws.json</code> where I provide the location it should pull the image from, it tries to build the docker image... In my folder where I run the command above I have the following files:</p>
  
  <ul>
  <li>Dockerfile</li>
  <li>Dockerrun.aws.json</li>
  <li>/src/ (my application)</li>
  <li>ebextensions</li>
  </ul>
  
  <p>My assumption is that if I have <code>Dockerrun.aws.json</code> it should use it and ignore the Dockerfile? </p>
  
  <p>Any clue what's going on?</p>
  
  <p>Let me know if providing the content of the <code>Dockerrun.aws.json</code> or <code>config.yaml</code> will be helpful</p>