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
參考:html
http://blog.aminjam.com/hello-asp-net-5-on-docker/git
http://www.cnblogs.com/cuizhipeng/p/4383919.htmlgithub
http://www.cnblogs.com/softlin/p/4377160.htmldocker
http://www.cnblogs.com/Bozh/p/3958469.html瀏覽器
http://tonybai.com/2014/10/14/discussion-on-the-approach-to-modify-system-variables-in-docker/app