Hello ASP.NET on Docker -- CentOS

1.docker pull microsoft/aspnet  
2.docker run -p 5004:2015 microsoft/aspnet
--穿越后
3.cd ~ && wget https://github.com/aspnet/Home/archive/master.zip && unzip master.zip && rm master.zip
4.cd Home-master/samples/HelloMvc/
5.kpm restore && k kestrel
--finish

浏览器打开[IP]:[2015]  127.0.0.1:2015

 参考:

http://blog.aminjam.com/hello-asp-net-5-on-docker/

http://www.cnblogs.com/cuizhipeng/p/4383919.html

http://www.cnblogs.com/softlin/p/4377160.html

http://www.cnblogs.com/Bozh/p/3958469.html

http://tonybai.com/2014/10/14/discussion-on-the-approach-to-modify-system-variables-in-docker/

原文地址:https://www.cnblogs.com/muyoushui/p/4452287.html