News for hackers. Stuff that matters.
Re:ZeroVM: Smaller, Lighter, Faster by epynonymous on Monday October 21, 2013 @08:05PM (#6589007)
why not just use docker.io? what are the differences between zerovm, docker, and warden?
Re:ZeroVM: Smaller, Lighter, Faster by _wmd on Monday October 21, 2013 @08:59PM (#6589188)
Unlike ZeroVM, Docker is not a security solution, it is only useful for managing administrative domains within a machine. (To preempt a massively pointless, ~20 year old conversation, Google "chroot security" and "jail security" and suchlike to understand why). On the other hand ZeroVM starts with statically verifying any code that executes adheres to a fixed protocol, and that protocol only allows invoking a small set of rigorously defined service stubs.

This may sound vaguely similar to how Linux containers and the syscall interface work, but it involves orders of magnitude fewer LOC written from the outset with a robust security design in mind. Compare that to the thousands of LOC daily churn in the Linux kernel, often written by people who are usually too busy fighting with shitty hardware to care about how their driver ioctl might be accidentally exposed to UID 0 running in a container, and even if they notice, might not even care.

Re:ZeroVM: Smaller, Lighter, Faster by wmf on Monday October 21, 2013 @08:08PM (#6589021)
I found the architecture page helpful in understanding what this thing really is: http://zerovm.org/wiki/Architecture
Re:ZeroVM: Smaller, Lighter, Faster by amalag on Monday October 21, 2013 @08:18PM (#6589057)
What does an instance look like. These are very lightweight instances of what?
Re:ZeroVM: Smaller, Lighter, Faster by pkconstantine on Monday October 21, 2013 @08:27PM (#6589104)
It looks like hardened *nix process. It has no access to anything it's not permitted to access. And it has no notion of network, time or machine it's running on, although it can communicate with other instances (even on remote machines) via ipc. It can be suspended, resumed, relocated and so on without it ever noticing.
Re:ZeroVM: Smaller, Lighter, Faster by amalag on Monday October 21, 2013 @08:34PM (#6589120)
Thank you. When you instantiate a zerovm instance you give it the associated code as well? And which IPC method can it use? Is zerovm the library you use, is there such a thing as a separate zerovm instance, or is it just the way we are used to talking about virtualization?
Re:ZeroVM: Smaller, Lighter, Faster by krakensden on Monday October 21, 2013 @09:26PM (#6589279)
You give it an x86 (or ARM) binary to execute. NaCL is also working on an LLVM version, that would get compiled to the specific machine at runtime.

IPC is super limited: https://github.com/zerovm/zerovm/blob/master/doc/api.txt

You get nothing but /dev/stdin, /dev/stdout, and /dev/stderr by default. You can optionally make other resources (network, files) available, through a similar api.

Re:ZeroVM: Smaller, Lighter, Faster by pkconstantine on Monday October 21, 2013 @08:44PM (#6589148)
When we instantiate we give zerovm an executable image (a file) and any other files this executable will need (can be arranged in a sort of "VM image" which is a regular tar file). Sessions (instances) can communicate by unix pipes. Yes we have notion of "instance" it is a running zerovm process. Each session runs in a separate process.
Re:ZeroVM: Smaller, Lighter, Faster by jauer on Monday October 21, 2013 @08:10PM (#6589026)
I'd compare ZeroVM to Manta ( http://www.joyent.com/products/manta ) instead of Docker & Warden.

AFAIK the idea as is to have as light of a container as possible so you can afford to throw your app at the data instead of throwing data at the app.

Re:ZeroVM: Smaller, Lighter, Faster by pkconstantine on Monday October 21, 2013 @08:17PM (#6589052)
That's correct. Manta is the closest thing.