Last active
December 16, 2020 05:01
-
-
Save bagus2x/e03e4e67d3f7a2211e3f4ea3ae996ede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=[pass]' -p 1433:1433 -d mcr.microsoft.com/mssql/server | |
docker exec -it [cont_name/id] bash | |
# Inside container | |
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P [pass] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment