docker pull mcr.microsoft.com/mssql/server:2017-latest-ubuntu
to download SQL Server 2017. docker pull mcr.microsoft.com/mssql/server:2019-CTP3.2-ubuntu
.microsoft/mssql-server-linux
with the one you downloaded.-d
--name sql_server_demo
-e 'ACCEPT_EULA=Y'
Y
shows that you agree with the EULA (End User Licence Agreement). This is required in order to have SQL Server for Linux run on your Mac.-e 'SA_PASSWORD=reallyStrongPwd123'
sa
database password.-p 1433:1433
microsoft/mssql-server-linux
reallyStrongPwd
as the password (but of course, it’s not a really strong password!). I was able to overcome this by adding some numbers to the end. However, if it wasn’t just a demo I’d definitely make it stronger than a few dictionary words and numbers.Please try running this command again as root/Administrator, try again, but this time prepend
sudo
to your command:mssql
command, followed by the username and password parameters.