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/

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。