Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Docker dotnet core multiple projects solution example

Example .NET Core solution with docker image build from project referencing other projects. Dockerfile and other configuration written according to SoftwareDeveloper.Blog post with Docker introduction.

Feel free to ask a question using issue, create a pull request with enhancements and star repository if you find it helpful :)

Building image

From root directory (where solution file - Docker-dotnet-core-multi-project-solution.sln is stored) run Docker build command:

docker build -f Aspnetcoreapp/Dockerfile -t aspnetcoreapp .

Running container

To run container for the first time, type Docker run command:

docker run -d -p 8080:80 --name my-running-application aspnetcoreapp

Stopping container

To stop running container run Docker stop command:

docker stop my-running-application

Starting stopped container

To start container which was stopped, type Docker start command:

docker start my-running-application

About

Example of dockerized Dotnet Core multi project solution with Docker instructions

Resources

License

Releases

No releases published

Packages

No packages published