Feeds

Docker 0.7 has a lover in every port: Containerizer cozies up to Linux distros

New storage drivers let code sandboxes run on stock kernels

High performance access to file storage

Containerization tech Docker is now supported by all the major Linux distros, making it easier for developers to adopt the lightweight app packaging and shipping tool.

The new capabilities were announced by the open-source project's eponymous parent in a blog post on Tuesday.

Docker is a technology that mates the Linux kernel's LXC, CGroups and Namespaces code to create a lightweight software container.

Where virtual machines each run a guest OS, Docker containerization shares the underlying host OS across all apps running in its sandboxes. It has a lower overhead than typical virtualization.

For instance, Docker could be used to run a database in one container and an app server in another, and the configurable isolation properties let an admin precisely dictate how information is passed between the two.

Version 0.7 now has a storage driver API and three storage drivers – for AUFS, VFS and DEVICEMAPPER – to simplify running Docker on stock Linux distros. Up until it has relied on AUFS for copy-on-write storage, but this code is not part of the Linux kernel so had to be patched in. The new API means it can work with whatever's available from the host system's kernel.

"As of today, Docker no longer requires a patched Linux kernel, thanks to a new storage driver... this means that it will work out-of-the-box on all major distributions, including Fedora, RHEL, Ubuntu, Debian, Suse, Gentoo, Arch, etc," the company wrote.

The new version also includes offline transfer to ease container migration, greater control for port redirects, inter-container communication, and container naming.

Reg readers may point out that Docker's technology is hardly original, as elements of this containerization approach have been present in systems such as Sun Solaris (Zones), and FreeBSD for a long time.

"I think those OSes never enjoyed the adoption that Linux did," said Solomon Hykes, chief technology officer of Docker. "Meanwhile Linux has slowly but surely developed container abilities. For a long time it was quite painful and a lot of work to get linux systems that could operate containers in production at scale."

Docker started in 2008 under the name of Dotcloud and was one of the first companies to start lashing together Linux components to make containerization easier for the lay developer.

Another early adopter was Google, which employed two engineers to develop a tech called "process containers" whose name was later changed to Control Groups (CGroups) and merged into version 2.6.24 of the Linux kernel.

Google, typically, hasn't said much about its own approach to containerization, but the ad-slinger's use of the code is another nod that containerization is a tech with many benefits to organizations.

Now that version 0.7 has been pushed out the door, Hykes is preparing for the long, hard slog to v1.0 of Docker. A development priority here is stabilization, and making it more modular.

"We need to define simple standard APIs for how containers discover each other [and] send network traffic to each other," he said. ®

Combat fraud and increase customer satisfaction

More from The Register

next story
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Inside the Hekaton: SQL Server 2014's database engine deconstructed
Nadella's database sqares the circle of cheap memory vs speed
Oh no, Joe: WinPhone users already griping over 8.1 mega-update
Hang on. Which bit of Developer Preview don't you understand?
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
IRS boss on XP migration: 'Classic fix the airplane while you're flying it attempt'
Plus: Condoleezza Rice at Dropbox 'maybe she can find ... weapons of mass destruction'
Ditch the sync, paddle in the Streem: Upstart offers syncless sharing
Upload, delete and carry on sharing afterwards?
New Facebook phone app allows you to stalk your mates
Nearby Friends feature goes live in a few weeks
prev story

Whitepapers

Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.