Created
May 12, 2021 08:03
-
-
Save codehaks/be89145cd9b07de320672557c153701d to your computer and use it in GitHub Desktop.
SQL server Docker
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=1234@Abcd" -p 1500:1433 --name sql1 -h sql1 -d mcr.microsoft.com/mssql/server:2019-latest | |
docker exec -it sql1 "bash" | |
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "1234@Abcd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment