title: /opt/mssql/bin/sqlservr: This program requires a machine with at least 2000 megabytes of memory
body: <p>/opt/mssql/bin/sqlservr: This program requires a machine with at least 2000 megabytes of memory</p>
  <p>Hi there, I am deploying .NET Core, Angular, MS SQL to EC2 (Ubuntu). But I got this error &quot;/opt/mssql/bin/sqlservr: This program requires a machine with at least 2000 megabytes of memory.&quot;. Any one met this, Can you help, please!. Thank you so much!.</p>
  <p><a href="https://i.stack.imgur.com/WFX6x.png" rel="nofollow noreferrer">mssql image error</a></p>
  <p><a href="https://i.stack.imgur.com/8E8uU.png" rel="nofollow noreferrer">Ubuntu version</a></p>
  <p><strong>docker-compose file:</strong></p>
  <pre><code>version: &quot;3&quot;
  services:
      ui-service:
          container_name: adamstoreclient
          image: registry.gitlab.com/lehoa08121998/adamstoreclient/main:latest
          ports: 
            - &quot;80:80&quot;
          networks:
            - adamstore
      dotnet-app:
          container_name: dotnet-core5.0
          image: registry.gitlab.com/lehoa08121998/adamstore/main:latest
          ports:
              - '5000:5000'
          depends_on:
              - ms-sqlserver
          entrypoint: dotnet API.dll
          networks:
            - adamstore
      ms-sqlserver:
          container_name: ms-sqldb
          image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
          environment:
            ACCEPT_EULA: &quot;Y&quot;
            SA_PASSWORD: &quot;Secret123!@#&quot;
            MSSQL_PID: Express
          ports:
             - &quot;1433:1433&quot;
          volumes: 
            - sqlsystem:/var/opt/mssql/
            - sqldata:/var/opt/sqlserver/data
            - sqllog:/var/opt/sqlserver/log
            - sqlbackup:/var/opt/sqlserver/backup
          networks:
            - adamstore
  volumes:
      sqlsystem:
      sqldata:
      sqllog:
      sqlbackup:
  networks:
      adamstore:
  </code></pre>