-
Install docker
-
Run:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<your sa password>' -p 1433:1433 --name local_sql_server -d microsoft/mssql-server-linux:2017-latest
-
Where needed, your connection string will be:
`Data Source=(local);Initial Catalog=NotificationService;User Id=SA;Password=<your sa password>;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False;integrated security=false;`
Data will persist as long as you don't delete the container.