Coder Social home page Coder Social logo

docker-mono-aspnetvnext's Introduction

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.

docker-mono-aspnetvnext's People

Contributors

akoeplinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-mono-aspnetvnext's Issues

--depth 1 for git clone mono

In install-mono.sh if you use

git clone --depth 1 https://github.com/mono/mono 

it'll be much faster in automated build, otherwise you're downloading a huge history of Mono project, which is probably not needed.

I've seen later on you're checking out to commit d8eaf05, is there a specific reason for that?

hellomvc?

I noticed this in the src folder in the container. Does it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.