Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Running the docker commands from a Windows client causes the container to exit immediately #20
I'm using the sample located here: https://hub.docker.com/r/microsoft/mssql-server-linux/
To workaround this I spun up a different Ubuntu box in Azure and ran the same command from it pointing my docker cli to the same host and it worked with no problems.
I believe the issue is with the -e argument. The way it interacts with the command Environment Variables does not work in Windows.
Here is a copy of my command window with the password removed:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=' -p 1433:1433 -a stdin -a stdout -a stderr microsoft/mssql-server-linux
As i used
So I just had to increase memory for docker and it run just fine.