title: How can I increase the CPUs and Memory available to Docker in Linux?
body: <p>When I run docker info in my Amazon Linux AMI EC2 instance I get: </p>
  
  <pre><code>Operating System: Amazon Linux AMI 2017.09
  OSType: linux
  Architecture: x86_64
  CPUs: 1
  Total Memory: 993.4MiB
  </code></pre>
  
  <p>How can I increase the number of CPUs and memory available to docker? With only 1 CPU my docker container is exiting immediately with an exit code of 137 (which I understand means out of memory). </p>
  
  <p>I know how to change these setting on my Mac Docker instance, but not on the Linux instance. </p>
  
  <p>Thanks!</p>