Running this stack up on MacOS 10.14.0
- Docker
- Dotnet
To download the latest SQL Server image, run the following Docker command from Terminal:
sudo docker pull microsoft/mssql-server-linux:2017-latest
To run it, you run the following Docker command from Terminal
sudo docker run -e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=Passw0rd!' \
-p 1433:1433 \
--name mssql \
-d microsoft/mssql-server-linux:2017-latest
To confirm that your container exists and is running, use the following command:
docker ps -a
Ensure you have dotnet installed
which dotnet
Create the directory for the dotnet application
mkdir moviesapp
cd moviesapp
The following command will list out the types of dotnet applications that can be created from templates. We will need the 'web' framework.
dotnet new
dotnet new web