Answers for "sql server on docker"

SQL
2

sql server docker container

docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" `
   -p 1433:1433 --name sql1 `
   -d mcr.microsoft.com/mssql/server:2019-CU3-ubuntu-18.04
Posted by: Guest on April-23-2020
1

sqlserver docker

docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=yourStrong(!)Password" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest
Posted by: Guest on August-29-2021
-3

docker mssql

# Run container
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest

# Connect to container
docker exec -it [id] /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "<YourStrong@Passw0rd>"
Posted by: Guest on September-23-2020
-1

docker sql server windows

# Pull image
docker pull mcr.microsoft.com/mssql/server:2019-latest

# Run container
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Abcd123!" `
   -p 1433:1433 --name sql1 -h sql1 `
   -d mcr.microsoft.com/mssql/server:2019-latest
Posted by: Guest on April-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language