DEV Community

loading...

Discussion on: Beginners Tutorial: Docker with ASP.NET Core

Collapse
schwamster profile image
Bastian Author

i am not sure i completely understand, but i am guessing you are asking how you would start a mssql server in a container?

in that case you would simply run something like this:

docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -e 'MSSQL_PID=Express' -p 1433:1433 -d microsoft/mssql-server-linux:latest

Check out the docs here: hub.docker.com/r/microsoft/mssql-s...