Sign inSign up

akoeplinger/mono-aspnetvnext

By akoeplinger

•Updated almost 11 years ago

Image containing everything needed to play with ASP.NET vNext projects on Mono.

Image
14

2.7K

akoeplinger/mono-aspnetvnext repository overview

⁠Note: Microsoft now provides an official Docker image: microsoft/aspnet⁠. I'm keeping this image around in case people rely on it, but I encourage you to take a look at the official image.

⁠mono-aspnetvnext Docker image

The GitHub repository hosts the Dockerfile used to create the image at the Docker Registry⁠. Do not clone the repository, just follow the instructions⁠ below

The image contains everything needed to play with ASP.NET vNext projects on Mono.

⁠Requirements

⁠Run Docker image

To run the image, follow these steps:

  1. docker run -i -p 5000:5000 -t akoeplinger/mono-aspnetvnext /bin/bash. This downloads and runs the image with your local port 5000 forwarded to the container and connects you to a Bash shell inside the container.
  2. cd ~/helloworld/src/helloworldweb
  3. Run kpm restore to restore the necessary packages
  4. Start the test web server by running k web

The "Hello World" web application should now be running, access it by browsing to http://localhost:5000⁠.

When you exit from the Bash shell, the container will be terminated. To map a directory from the host machine to the container, you can use the -v option, e.g. -v ~/:/hosthome will map your home directory to the /hosthome directory in the container. This is a simple way to share your own projects with the container.

Tag summary

Content type

Image

Digest

sha256:3ec01a2e9…

Size

195.6 MB

Last updated

almost 11 years ago

docker pull akoeplinger/mono-aspnetvnext