Linux/Docker: SQL Server in docker

PHOTO EMBED

Mon Aug 29 2022 18:38:18 GMT+0000 (UTC)

Saved by @marcopinero #bash #docker

docker run -e 'ACCEPT_EULA=Y' \
    -e 'MSSQL_SA_PASSWORD=<YourStrong!Passw0rd>' \
    -p 1433:1433 -v <host directory>/data:/var/opt/mssql/data \
    -v <host directory>/log:/var/opt/mssql/log \
    -v <host directory>/secrets:/var/opt/mssql/secrets \
    -d mcr.microsoft.com/mssql/server:2019-latest
content_copyCOPY