Re:Comparing Triton containers to VMs and bare metal servers
by dmpk2k on Thursday June 18, 2015 @12:53PM
(#9739942)
Container is a chroot jail on steroids. VM is a QEMU process (also in a container).
[ Parent
| on HN ]
Re:Comparing Triton containers to VMs and bare metal servers
by logicallee on Thursday June 18, 2015 @12:55PM
(#9739957)
how can you run a totally different architecture from just a chroot jail? It doesn't make sense. How are you "on the metal" if you're running some totally different kernel from what the chroot-jail-host is running? You can't both be running the kernel on the metal...
Re:Comparing Triton containers to VMs and bare metal servers
by bcantrill on Thursday June 18, 2015 @01:03PM
(#9740016)
It might help to see my presentation entitled "Docker and the future of containers in production"[1][2]; it covers the fundamental building blocks here, and should answer your questions. (If that presentation leaves you looking for more depth on the LX branded zone technology on SmartOS, see my Surge illumos day presentation from last fall.[3])
[1] https://www.joyent.com/developers/videos/docker-and-the-futu...
[2] http://www.slideshare.net/bcantrill/docker-and-the-future-of...
Re:Comparing Triton containers to VMs and bare metal servers
by bahamat on Thursday June 18, 2015 @01:07PM
(#9740055)
It's not a different architecture. SmartOS is x86 based, as are the Linux binaries.
What lx-brand zones do is present an alternate system call table to the binaries executed inside the zone. Those "lx" calls are compatible with the Linux system call table and get mapped and/or translated to illumos kernel system calls. Binaries don't know the difference.
Re:Comparing Triton containers to VMs and bare metal servers
by mrbill on Thursday June 18, 2015 @01:31PM
(#9740275)
So Triton is basically (simplifying) Solaris / SmartOS zones with the LX stuff installed?
Re:Comparing Triton containers to VMs and bare metal servers
by bahamat on Thursday June 18, 2015 @04:23PM
(#9741402)
It's that, plus cloud orchestration (i.e., SmartDataCenter) which includes sdc-docker, providing the Docker API and image management.
Re:Comparing Triton containers to VMs and bare metal servers
by spdustin on Thursday June 18, 2015 @01:03PM
(#9740019)
QEMU runs in the container, in this case. So you've got a whole "yo dawg, I heard you like VM's in your containers" thing going on.
I guess it's briefly described as a multi-tenant container system that isolates tenants by grouping them into parent containers? Maybe?
Re:Comparing Triton containers to VMs and bare metal servers
by dmpk2k on Thursday June 18, 2015 @12:58PM
(#9739974)
I'm not clear on the question.
The containers don't run a different kernel. They're just regular processes, in an fancy evolution of a chroot jail.
If you want to run something like Windows or FreeBSD, then you break out QEMU.