Live data from Hacker News

Triton: Docker and the “best of all worlds”

joyent.com

21–30 of 103 posts

Re: Triton: Docker and the “best of all worlds”

#21
Didn't see the actual repo linked: https://github.com/joyent/sdc-docker

"A Docker Engine for SmartDataCenter, where the whole DC is exposed as a single docker host. The Docker remote API is served from a 'docker' core SDC zone (built from this repo). ... Disclaimer: This is still very much alpha. Use at your own risk!"

Re: Triton: Docker and the “best of all worlds”

#22

Joyent has solved some really hard problems to make this work. I was lucky enough to get the chance to sit down with Bryan last week and talk with him about what this took. It's essentially reimplementing Linux on top of Illumnos, which is no tiny feat. There are still messy hurdles to running Docker in production, but it's clear that Joyent has really tried to make something awesome here. As someone who works deeply…

Isn't it an example of taking Solaris to new and intriguing heights? There is no actual Linux code in the implementation.

Re: Triton: Docker and the “best of all worlds”

#23
post #6
post #3

Can someone explain this in words that a time traveller from 2010 would understand?

Well, since 2010 Sun has died, and opensolaris is no more. It lives on as an open source effort called Illumos. At one point, solaris could run Linux binaries unmodified under a solaris kernel and userspace. That became un-maintained, but it is now working again. One of the reasons this feature fell out of use was because it could only run 32-bit linux binaries. Now it can run 64-bit binaries too. If you want to try…

Oracle bought Sun in 2009 and finalized in Jan. 2010, so this time traveller would have to be from a very specific slice of 2010 to not know about the demise of Sun. :P

Re: Triton: Docker and the “best of all worlds”

#24

This is running Linux binaries on Oracle Solaris (which they call SmartOS), and not the real thing that Oracle is still developing, but a fork from 2010 that is maintained by 1/10th of the developers it once had. https://www.openhub.net/p/illumos . This would have been pretty rad 10 years ago, when the world still cared about Solaris. On a minor note: the post doesn't credit Oracle or Solaris, from where more than 90…

> until Oracle closed their code in 2010

At that point, why credit Oracle instead of Sun? Oracle finalized their deal to buy Sun in January 2010. How much did Oracle contribute between then and the announcement that they were closing their code?

Edit: Oracle announced closing OpenSolaris on August 13, 2010. The last "release" of OpenSolaris was June 2009.

Re: Triton: Docker and the “best of all worlds”

#25

Earlier quoted context omitted.

The difference for the operator is: Baremetal -> smartos -> container vs Baremetal -> hypervisor -> virtual machine -> container. Theres root safety in the smartos implementation of docker. So they can do multi-tenancy. For the customer, you dont have to provision entire virtual machines to run docker containers.

Is it multi-tenancy of various Joyent customers on the same hardware? So you get containers placed somewhere in their data center on shared hardware with other customers? Or do you already need to have dedicated hardware provisioned at Joyent to launch containers on? I'm still unclear on that point, which makes me question how it's saving the end user money.

Yes, you are running on shared hardware, securely, but with no hypervisor.

The biggest money-saver is in performance. IO-heavy applications can see anywhere from 5-10x performance improvements[1] by switching from hardware- to OS-virtualization.

[1]: http://dtrace.org/blogs/brendan/2013/01/11/virtualization-pe...

Re: Triton: Docker and the “best of all worlds”

#26

Joyent has solved some really hard problems to make this work. I was lucky enough to get the chance to sit down with Bryan last week and talk with him about what this took. It's essentially reimplementing Linux on top of Illumnos, which is no tiny feat. There are still messy hurdles to running Docker in production, but it's clear that Joyent has really tried to make something awesome here. As someone who works deeply…

Isn't it an example of taking Solaris to new and intriguing heights? There is no actual Linux code in the implementation.

That's a great point, but I think the point of what Bryan has been doing is to make Linux work with Zones (and dtrace).

That's a primitive that Joyent has wanted to upstream into the Linux kernel for a long time and has never been able to get the necessary consensus around it (similar to OpenVZ's troubles getting their work upstreamed).

In short, this is sort of a hack to give you zones on Linux without needing to get zones into the upstream. Yes, there's no linux code, but there is a lot of required understanding of Linux code to make something like this work.

It's kinda amazing that they got 64-bit linux to run on top of Illumnos, right? I did not see that coming and maybe that's because I'm ignorant in some capacity, but it's been a pleasant surprise.

Re: Triton: Docker and the “best of all worlds”

#27
post #21

Didn't see the actual repo linked: https://github.com/joyent/sdc-docker "A Docker Engine for SmartDataCenter, where the whole DC is exposed as a single docker host. The Docker remote API is served from a 'docker' core SDC zone (built from this repo). ... Disclaimer: This is still very much alpha. Use at your own risk!"

Thanks for the link. I've updated the "current state" notes to better reflect reality. https://github.com/joyent/sdc-docker#current-state

Re: Triton: Docker and the “best of all worlds”

#28

Tldr. Triton lets you run your docker containers in the cloud without worrying about virtual machines or setting up your own paas. Signup here: https://www.joyent.com/lp/preview

So how is this different from the container service from google?

Re: Triton: Docker and the “best of all worlds”

#29
I feel like perhaps I'm the only one concerned about this: (Somehow, “SmartOS + LX-branded zones + SmartDataCenter + sdc-portolan + sdc-docker” was a bit of a mouthful.)

Not only is it a mouthful, it means there is a much wider space for things to go wrong.

Post reply on HN