title: Docker exiting immediately
body: <p>I am running docker on my </p>
  
  <blockquote>
    <p>windows 10 home</p>
  </blockquote>
  
  <p>machine. So it is the older version of docker not the hyper v version.</p>
  
  <p>I have setup a sql server docker container however when I run it it exits with the error </p>
  
  <blockquote>
    <p>Exited (1)</p>
  </blockquote>
  
  <p>When I look at the logs it says </p>
  
  <blockquote>
    <p>sqlservr: This program requires a machine with at least 2000 megabytes
    of memory. /opt/mssql/bin/sqlservr: This program requires a machine
    with at least 2000 megabytes of memory.</p>
  </blockquote>
  
  <p>However I have 8Gb of memory on my machine and I have at least 3.5 Gb free when running docker. I have tried using the --memory flag to allocate over 2Gb for the container (as the docs state that it needs 2Gb for the sql server image) but it still exits...</p>
  
  <p>Does anyone know what is potentially the issue?</p>