If I have Docker (or some other container software) running on Debian or other distro, does that mean I can run ASP.NET MVC, C#, etc. in that container? When I say "run on Linux," I know it doesn't mean run natively, only in the Docker container.
Does Docker provide all that is needed, or have it for me to get to put into the container?
Isn't this what a container is for?
EDIT: I don't mean as a hack or the like. I'm asking isn't this the intention of containers, a normal practice.
EDIT: I think I understand based upon tobyd's answer. I believe I was thinking too "VMish." All the talks I see about Docker show "HostOS" and then Docker on top of it and then the containers. There were assumptions by the presenter that there were not woefully uninformed people such as myself.
But What I never heard was that means you can't run just anything in those containers. The way presentations made it sound was if Docker could get the infrastructure to run anything without actually being a full image OS image (like a VM). I did read how they use the same kernel, but I never put it together. It was magic. I also see why we need a Windows implementation of Docker, though I am not sure why they need Hyper-V (but, I digress).