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 PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?