Use this command to start up MSSQL docker conatiner:
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=YourStrong@Passw0rd" -p 1433:1433 --name sql1 --hostname sql1 --restart always -d mcr.microsoft.com/mssql/server:2022-latest
Use this comand for a MSSQL 'Azure SQL Edge' image. Useful for IoT and ARM devices. I ran this on my Raspberry Pi 4 with 8gb of RAM.
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=YourStrong@Passw0rd" -p 1433:1433 --name sql3 --hostname sql3 --restart always -d mcr.microsoft.com/azure-sql-edge
Default username is:
SA
Default password is:
YourStrong@Passw0rd
Change the password to something strong. Don't use this password. Choose a good password.