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/

posted @ 2015-04-24 00:55  木由水  阅读(236)  评论(0编辑  收藏  举报