Skip to content

Instantly share code, notes, and snippets.

@pettan93
Last active December 16, 2019 20:16
Show Gist options
  • Save pettan93/9a7c3bb3ed3b5899b35ead7ed4da645a to your computer and use it in GitHub Desktop.
Save pettan93/9a7c3bb3ed3b5899b35ead7ed4da645a to your computer and use it in GitHub Desktop.
Docker (on Windows) - Run MSSQL2017
docker run --privileged --name sqlserver2017 -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=SomeComplexEnoughtPW2019!" -p 1433:1433 mcr.microsoft.com/mssql/server:2017-latest
// password needs to be complex enought
// its not working with env parameters in 'quotation marks', use "these"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment