Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Repository files navigation

aspnet-docker

Simple demo of ASP.NET Core and Docker using .NET Core 3.1 LTS.

Read the Article

To understand how to use this repo, make sure you read this article:
Creating ASP.NET Core websites with Docker

Requirements

In order to run this example, you'll need to have installed on your machine (Windows, Mac, Linux):

  • Docker Desktop (or Docker on Linux)
  • .NET Core SDK 3.1

Running

The steps to run are:

  1. clone this tool: git clone https://github.com/hd9/aspnet-docker
  2. cd into the folder: cd aspnet-docker
  3. Build a docker image: docker build . -t webapp
  4. Run a container with: docker run --rm -it -p 8080:80 webapp
  5. Open your browser and navigate to: localhost:8080

Thanks!

And don't forget to visit blog.hildenco.com.

About

Simple demo of ASP.NET Core and Docker using .NET Core 3.1 LTS

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages