Run MSSQL Express (for Development)
docker run --name mssql \
-e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=atleast8' -e 'MSSQL_PID=Express' \
-p 1433:1433 -d microsoft/mssql-server-linux:latest
Run “client”
docker exec -it mssql /opt/mssql-tools/bin/sqlcmd \
-S localhost -U sa'
(*) you will be prompted to enter the password (e.g. “atleast8“)
0 Comments