Re:Google Launches Managed Service for Running Docker Apps o...
by jff on Tuesday November 04, 2014 @02:01PM
(#8558365)
Ok, I've done VMs inside docker already which has been fine, was hoping GCE would let me do it on Google's systems.
Re:Google Launches Managed Service for Running Docker Apps o...
by abakker on Tuesday November 04, 2014 @04:54PM
(#8559298)
As someone who doesn't know, why would you want to run VMs inside of a docker container? Wouldn't this have tremendous overhead relative to just running the hypervisor?
Re:Google Launches Managed Service for Running Docker Apps o...
by jff on Tuesday November 04, 2014 @07:06PM
(#8559831)
If you use the -privileged flag, docker containers can access /dev/kvm and start low-overhead KVM instances.
It's advantageous for me, because I can say "hey check out this software" and they just have to run a single docker command, compared to installing Go, apt-getting a bunch of packages, fetching our repo, compiling, etc.
But if you are running Kubernetes on bare metal, there is no reason you couldn't map in /dev/kvm and have k8s run VMs for you. I haven't done it though :)