Simple Hello World for ASP.NET with Docker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
wwwroot
Dockerfile
HelloWeb.xproj
README.md
Startup.cs
project.json

README.md

ASPNET Hello World with Docker on a Mac

This sample provides a basic working hello world for Docker users.

Usage

This image is on Docker Hub for easier usage.

docker run -t -d -p 5004:5004 savs/aspnet-helloworld

Then open your browser and point it to your Docker host IP on port 5004.

Build your own

Do the following:

git clone https://github.com/savs/aspnet-helloworld.git
cd aspnet-helloworld
docker build -t helloworld .
docker run -t -d -p 5004:5004 webapp

References