1

I was thinking that whether we can have the docker on top of A guest OS. The layered blueprint that i am thinking of is something like this Docker on Vm

I will have my containers run on top of Docker and hence i feel can address the multi-os feature alongside Docker

Please suggest if such an implementation is possible or not?

Gaurav Parashar
  • 1,347
  • 2
  • 19
  • 21
  • This is a very common way to run Docker. What made you think it might be difficult? – Bryan Apr 10 '15 at 10:09
  • @Bryan : I am a complete novice on docker and was wondering if such a model was possible. Was working on the convergence of infrastructure using private cloud and hence was unaware that if we could really have docker on top of one of my instances created using Openstack. Community Guidance or example implementations was what i was looking for!! – Gaurav Parashar Apr 13 '15 at 04:40

1 Answers1

1

That looks like boot2docker implements already, with:

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • and in case of a type 1 hypervisor? – Gaurav Parashar Apr 10 '15 at 06:45
  • @gauravparashar the native or bare-metal hypervisor? http://blog.scottlowe.org/2015/01/30/thinking-out-loud-does-docker-on-windows-matter/ mentions: "Azure could be made more relevant in the public cloud race through “native support for Docker containers” resulting in “native Type-1 hypervisor, native Docker containers.”" – VonC Apr 10 '15 at 06:49
  • 1
    @gauravparashar You also have the Xen project: https://xen-orchestra.com/blog/xen-and-docker-for-the-best/, mentioned in https://www.linux.com/news/enterprise/cloud-computing/785769-containers-vs-hypervisors-the-battle-has-just-begun – VonC Apr 10 '15 at 06:51
  • @Bryan True. I have edited the answer accordingly. I also tried to explain those "nested" hosts in http://stackoverflow.com/a/29303930/6309 (section "Hosts & Proxy: Windows => Boot2Docker => Docker Containers") – VonC Apr 13 '15 at 10:24
  • @VonC cool; I will delete my comment (and this one too, soon) – Bryan Apr 14 '15 at 12:58