Docker Community Forums

Share and learn in the Docker community.

MSSQL Container saying This program requires a machine with at least 2000 megabytes of memory

I trying to run mssql container on Windows Server 2019
however the container start and exit immediately .

PS C:\Windows\system32> docker logs --tail 1000 zen_swanson
SQL Server 2019 will run as non-root by default.
This container is running as user root.
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.

Any problem ?

PS C:\Windows\system32> docker version
Client:
Version: 17.10.0-ee-preview-3
API version: 1.33
Go version: go1.8.4
Git commit: 1649af8
Built: Fri Oct 6 17:52:28 2017
OS/Arch: windows/amd64

Server:
Version: 17.10.0-ee-preview-3
API version: 1.34 (minimum version 1.24)
Go version: go1.8.4
Git commit: b8571fd
Built: Fri Oct 6 18:01:48 2017
OS/Arch: windows/amd64
Experimental: true

I try the below three image and it’s the same

2017-latest
2019-CU4-ubuntu-16.04
2019-latest

this is how I start the image
docker run -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=Aa12345678’ -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-16.04 --memory 4GB