Docker and Linux Containers on Windows | windows docker run linux image
Containersarelovely,incaseyouhaventheard.Theyareaniceandcleanwaytogetareliableandguaranteeddeployment,nomatterthehostsystem.IfIwanttorunmymyASP.NETCoreapplication,Icanjusttype"dockerrun-p5000:80shanselman/demos"atthecommandline,anditllstartup!Idonthaveanyconcernsthatitwontrun.Itllrun,andrunwell.Somecontainersnaysayerssay,sure,wecoulddothesamethingwithVirtualMachines,buteventoday,aVHD(virtualharddrive)isratheranunrulythingandincludesatonofoverheadthatacontainerdoesnthave.Containersarehap...
Containers are lovely, in case you havent heard. They are a nice and clean way to get a reliable and guaranteed deployment, no matter the host system.
If I want to run my my ASP.NET Core application, I can just type "docker run -p 5000:80 shanselman/demos" at the command line, and itll start up! I dont have any concerns that it wont run. Itll run, and run well.
Some containers naysayers say , sure, we could do the same thing with Virtual Machines, but even today, a VHD (virtual hard drive) is rather an unruly thing and includes a ton of overhead that a container doesnt have. Containers are happening and you should be looking hard at them for your deployments.
Historically on Windows, however, Linux Containers run inside a Hyper-V virtual machine. This can be a good thing or a bad thing, depending on what your goals are. Running Containers inside a VM gives you significant isolation with some overhead. This is nice for Servers but less...