I wanted to learn how to start MSSQL in a Docker Container. Then once the container is up run through Evolve migration scripts so the DB can be scaffolded out.
- Clone down this repo
- Run
docker build -t docker-sql .
- Run
docker run -p 1433:1433 -d docker-sql
- Wait about 30 seconds. If you watch the log you will want to wait until you see
Done Migrating DB
. - Open up SSMS and connect to
localhost
using usernamesa
and passwordPassword!
- Profit