News for hackers. Stuff that matters.
Re:Docker - the Linux container runtime by rlpb on Wednesday March 20, 2013 @01:44PM (#5408878)
So why not use VM images? Why not a VMware vagrant box, for example?
Re:Docker - the Linux container runtime by derefr on Wednesday March 20, 2013 @01:50PM (#5408914)
This might work if you only have to run three or four VMs on a box, and run several applications in each container. Full PC virtual machines are much too heavyweight, though, for isolating thousands of individual processes per box, especially when most of them might just sit there doing nothing most of the time.

Though! If you want to, you can think of this standard as specifying an "ABI format" for high-level, lightweight VMs that happens to run on a "Linux machine" instead of, say, an "IA32 machine."

Re:Docker - the Linux container runtime by niall_ohiggins on Wednesday March 20, 2013 @02:03PM (#5409005)
One major benefit over VM images is Linux Containers have very fast spin-up time. This can be especially useful for PaaS providers and CI servers.
Re:Docker - the Linux container runtime by emidln on Wednesday March 20, 2013 @02:40PM (#5409262)
If your images use kvm+qcow2 you can just spin up new vms as a delta image using qcow2's support for a backing store.

I want a new instance of WEBSERVER.qcow2?

    qemu-img create -b WEBSERVER.qcow2 -t qcow2 WEBSERVER-$SERIALNUMBER.qcow2 
If you're doing this as a PaaS or for CI, you do this as part of your new image creation and then pass in the new qcow2 to your vm (maybe via libvirt). If you aren't doing this or something very similar, you're spinning your wheels and wasting time/resources.
Re:Docker - the Linux container runtime by shykes on Wednesday March 20, 2013 @02:36PM (#5409231)
Other benefits: docker images are basically tarballs, which means they are much smaller.

And, importantly, Docker maintains a filesystem-level diff between versions of an image, and only needs to transmit each diff once. So you get tremendous bandwidth savings when transmitting multiple images created from the same base.