Is Docker ditching Ubuntu Linux? Confusion reigns

Alpine Linux may be the new default OS, but Docker

Docker has long relied on Ubuntu Linux as the default host environment for Docker apps, but comments from the company's CTO recently suggest that might not be the case much longer.

"We have hired Natanael Copa, the awesome creator of Alpine Linux, and are in the process of switching the Docker official image library from Ubuntu to Alpine," a user named shykes wrote in a Hacker News thread 10 days ago. 

Docker confirmed Tuesday that shykes is Solomon Hykes, Docker's founder and CTO. But it also seemed to back away from his remark.

"Discussions on Hacker News are often effectively real-time, casual conversation," Docker spokeswoman Suzanne Panoplos said via email. "As such, words and terms used there are occasionally inexact.

"To clarify, we are 'expanding' our offering, rather than 'switching' it from Ubuntu to Alpine," Panoplos said. "Docker is now providing images based on Alpine Linux, in addition to Ubuntu and Debian, as another option for users. Ultimately this provides users with more choice when selecting their image content."

In the meantime, Hykes' comment had sparked a debate among Docker enthusiasts, with some calling it a step backwards for the popular container technology.

Alpine Linux is a security-oriented, lightweight Linux distribution based on the musl libc library and BusyBoxThe download size for the latest .iso image, released early this year, is 82MB, making it considerably smaller than Ubuntu.

Docker containers don't need all of the software built into Ubuntu, and a change like this could clearly reduce overhead, as noted Monday by The VAR Guy, which first reported the news.

"Just downloading the Ubuntu official image from Docker Hub is 188MB, and it has been downloaded over 40 million times, which equates to over 7,520 TB of data transfer between Docker Hub and users around the world just for this single image," cloud architect Brian Christner said in a blog post on Friday. "Multiply this by all the official images, and the amount of transfer data is mind boggling."

With Alpine Linux, a container requires no more than 8MB, and a minimal installation to disk requires around 130 MB of storage, its creators say.

Advantages for Docker users could include faster download speeds, better security thanks to a smaller attack surface, and faster migration among hosts, Christner noted.

Such a switch to Alpine Linux wouldn't mean that Docker would no longer work on Ubuntu -- just that it would no longer be the default.

Not everyone was excited about the prospect.

"The distro package management is one of the biggest reasons why people still stick with heavyweight distros like Ubuntu," wrote a user called kylequest on Hacker News, adding that DockerSlim already lets users eliminate what they don't need from heavyweight distros like Ubuntu.

"You get the best of both worlds where you don't have to change your process and you still get small images," kylequest explained.

Docker's Hykes, meanwhile, urged readers on Hacker News to help with the move to Alpine.

"You can help us with pull requests to https://github.com/docker-library," he wrote. "Even one such pull request could go a long way to promoting smaller containers, since those images have been downloaded over half a billion times." 

It's unclear why Hykes said Docker was "switching" from Ubuntu to Alpine, if that's not the case. Perhaps we'll get more clarity in the days and weeks ahead.

Overall, enterprises are increasingly turning to lightweight, hybrid, data-center and container-specific operating systems such as Apcera, Alpine Linux, CoreOS, Mesosophere and RancherOS, said Jay Lyman, a research manager with 451 Research.

Alpine Linux's security focus could be viewed as an additional advantage, Lyman added.

Ultimately, though, even if the switch does take place, there won't be much disruption or even a noticeable difference for most users, he said.

"The move may eventually mean some speed, performance and security gains with the lightweight and security aspects of Alpine Linux," Lyman said, but "Docker will still work with other Linux distributions as it has before."

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Katherine Noyes

IDG News Service
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

Logitech Ultimate Ears Wonderboom Bluetooth Speaker

Learn more >

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?