sudo docker pull mcr.microsoft.com/mssql/server:2019-latest
alias mysqlstart='sudo /usr/local/mysql/support-files/mysql.server start'
alias mysqlstop='sudo /usr/local/mysql/support-files/mysql.server stop'
sudo docker pull mcr.microsoft.com/mssql/server:2019-latest
1. Pull MSSQL Server from Dockerdocker pull microsoft/msssql-server-linux2. Create an Instance and Serverdocker run -d — name MSSQL_Server -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD= mypassword’ -p 1433:1433 microsoft/mssql- server-linux3. Download node and install SQL CLI as Adminnpm install -g sql-cli4. Check the containerdocker ps -a5. Run the Servermssql -u sa -p <mypassword>
select @@version