wshq 发表于 2015-10-13 09:11:34

Docker libcontainer unifies Linux container powers

  Summary: Containersare finally coming into their own as a virtualization alternative, but until now their programs were incompatible. Now, the major container players are agreeing to line up behind Docker's libcontainer.
  
  
At DockerCon inSan Francisco, Docker CTOand co-founder Solomon Hykes announced that the company would work as full partners with its former container technology rivals on Docker's key open-source component libcontainer.
http://cdn-static.zdnet.com/i/r/story/70/00/030397/libcontainer-diagram-620x465.png?hash=AGV3ZTD3Lw&upscale=1Howlibcontainer works with Linux services.What makes this important, even vital, news to the larger world of system administrators, datacenter managers, and cloud architects, is that Google, RedHat, and Parallels arenow helping build the program. Indeed, they will work with Docker as core maintainers of the code. Canonical's Ubuntu container engineers will also be working on it.
In other words, libcontainer is well on its way to becoming the default standard for Linux-based containers. Indeed, if rumors are true that Microsoftis working on bringing Docker-based containers to its Azure cloud.
What's hot on ZDNet

[*]AndroidLollipop users warn of 'unusable' devices after upgrading
[*]Amazonreveals Black Friday deals, free paid apps, bargain tech
[*]Microsoftsays Storage service performance update brought Azure down
[*]AmazonEcho review: A perfect 10
Libcontainer enables containers to work with Linux namespaces, control groups, capabilities, AppArmor security profiles, network interfaces and firewalling rules in a consistent and predictable way. It doesn't rely on Linux userspace components such as LXC, libvirt,or systemd-nspawn Dockerclaims "Thisdrastically reduces the number of moving parts, and insulates Docker from the side-effects introduced across versions and distributions of LXC."
In an e-mail interview, James Bottomley, Parallels' CTO of Server Virtualization and the Linux Foundation Technical Advisory Board Chair, said, "We've finally managed to launch a unified effort around libcontainer. This is the library that will expose granularcontainer features to applications that want them and also allow us to make our tools go much more seamlessly across our disparate products." For example, this "would allow things like Docker and LXC todeploy on to OpenVZ oreven our cloud server product."
Libcontainer, which is written natively in Google'sGo, is also being ported into other languages. Microsoft may beporting it to ASP.NET.Parallels' libct,which includes libcontainer's functionality, has native C/C++ and Python bindings.
Bottomley added that "We are going to refactor the code so that the Docker Go code calls into libct at the low level. This will give us the same code paths for the Go and C/C++/Python APIs.The net result for Docker will be that it will give itnative integration with checkpoint/restore and live migration. The accrual forus is that the Go library Docker uses to orchestrate containers will then work on OpenVZ and Parallels Cloud Server."
I think that libcontainer will soon become the default library for Linux containers. That's not just because so many powerhouse companies are now working on it, they're also already using it. Besides Red Hat embracing it in the justreleased Red Hat Enterprise Linux 7, Google is moving to Docker for its containers.
‎Eric Brewer, Google VP of Infrastructure also said at DockerCon that Google,which already uses containers to run almost all Google apps, said at DockerCon that Google would be using Docker and libcontainer for containers in its GoogleCompute Engine Infrastructure-as-a-Server (IaaS) cloud. When companies are putting customers as well as programmers on a technology, you know they're serious about it.
页: [1]
查看完整版本: Docker libcontainer unifies Linux container powers