Why would someone want to host Docker in a VM in Azure? I mean the whole point of using Docker is to get rid of VMs, right?
No, that's not the point of Docker, watch my Docker overview video, but there's a number of benefits - portability, density, production realism.
My understanding is that if I want to use a cheap open source cloud instead of Azure, I'd use containers (like Docker) on top of a Linux (or better yet CoreOS) machine which allows me to scale and at the same time to save costs and still have many of the benefits of cloud
I don't know what a cheap open source cloud is, but whether it's Azure or another cloud vendor or Linux or CoreOS (which Azure supports), you are still running virtualized.
Moreover, I don't have to deal with VMs anymore because this is an improved architecture over old VM style.
I don't know what this means, where is the architectural benefit?
Now if I want to host my website in Azure, I'd just publish to Azure. I bet it will be MUCH easier without the Docker and Linux stuff in between and it probably performs much better.
How are you publishing to Azure? Using Azure App Service? That certainly is an option, but Microsoft has already stated that the performance would be about the same between Windows and Linux.
So, my question is what is the point of this video?
It's so show how our tools make it easy to create a virtual machine that can use Docker and publish ASP.NET 5 apps easily. Once you have a Docker-enabled virtual machine, you can host a number of other Docker containers like Nginx, Redis, MongoDB and others, even on the same virtual machine. Second, the VS Tools for Docker are designed to Dockerize ASP.NET apps, they work whether you are targeting an on-premise server, your laptop using Boot2Docker, or a virtual machine running in AWS, Digital Ocean, etc.
The easy way to do it would be to pass it in via Docker Run, the same place where we call the "foo" app to run, just like you would from a console. If you need to make it more dynamic, then you probably want one app to run and then call an external process to call another console app directly from the command line, much like that demo calls a command line utility.
Hope this helps,
Good point, we wanted to have a session that was a bit more than just slides and showed coding against services as well as some best practices for setting up and configuring your environment. If you have suggestions for the content of the session, I'd like to hear them.
LOL, hilarious comment! And thanks everyone for all the love over the years. We'll still be on Channel 9 for our big events (TechEd, Connect();, etc) and when we our feature teams have new releases :)
Sep 10, 2014 at 10:09 AM
Hey folks, Mark DeFalco was kind enough to upload the code for this session so it is now available! Follow the Zip link under the video ,which direct links to this - http://video.ch9.ms/sessions/teched/na/2013/DEVB305_BuildingAppsWithKinect.zip
Yes, Rick now works for Microsoft