title: Add Docker Run command options in AWS Dockerrun.aws.json file
body: <p>In my <code>docker-compose.yml</code> file I can do the following:</p>
  
  <pre><code>splash:
    image: scrapinghub/splash
    command: --max-timeout 300
    ports:
      - "8050:8050"
  </code></pre>
  
  <p>As you can see, I just pass in the additional options that I want to add to the docker run command that is executed in the image.</p>
  
  <p>When I try to apply this to my <code>Dockerrun.aws.json</code> file that is deployed to Amazon Elastic Beanstalk, I get error when I write the following:</p>
  
  <pre><code>{
      "name": "splash",
      "image": "scrapinghub/splash", 
      ...
      "command": [
          "--max-timeout 300"
      ]
  },
  </code></pre>
  
  <p>So question is, how do I add the <code>--max-timeout</code> parameter to the default command that my Docker Image is executing with my AWS deployment?</p>