This sample demonstrates how to use .NET Framework and Docker together.
This sample requires the Docker client and .NET Framework.
Use the dotnet run command to start the app.
cd src
dotnet run
You can build and run the sample in Docker using the following commands. The instructions assume that you are in the root of the repository.
docker image build -t dotnet-docker-web:latest .
docker run -dp 8000:80 --name dotnet-docker-web-container dotnet-docker-web:latest
You can build and run the sample in Divio on your computer using the following commands. The instructions assume that you are in the root of the repository and that you have installed Divio CLI.
divio app up