Minimal Ubuntu, on public clouds and Docker Hub

Canonical

Canonical

on 9 July 2018

Today we are delighted to introduce the new Minimal Ubuntu, optimized for automated use at scale, with a tiny package set and minimal security cross-section. Speed, performance and stability are primary concerns for cloud developers and ops.

“The small footprint of Minimal Ubuntu, when deployed with fast VM provisioning from GCE, helps deliver drastically improved boot times, making them a great choice for developers looking to build their applications on Google Cloud Platform,” said Paul Nash, Group Product Manager, Google Cloud.”

Smaller and faster, for automated cloud operations

Minimal Ubuntu is the smallest Ubuntu base image for your cloud operations. These images are less than 50% the size of the standard Ubuntu server image, and boot up to 40% faster. Images of Minimal Ubuntu 16.04 LTS and 18.04 LTS are available for use now in Amazon EC2, Google Compute Engine (GCE), LXD and KVM/OpenStack.

Tiny container base image

The 29MB Docker image for Minimal Ubuntu 18.04 LTS serves as a highly efficient container starting point, and allows developers to deploy multicloud containerized applications faster. For modern Docker workflows with Kubernetes, the minimal Ubuntu image provides a balance of compatibility, familiarity, performance and size. This is the standard Ubuntu 18.04 LTS image on the Docker Hub.

Cloud images also contain the optimised kernel for each cloud and supporting boot utilities.

Fully compatible with all Ubuntu packages

While the footprint of Minimal Ubuntu is greatly reduced, it preserves full compatibility with standard Ubuntu operations. Any Ubuntu package can be installed on Minimal Ubuntu. Get exactly the image you need by simply adding your required packages, with dependencies, to a Minimal Ubuntu base image.

Minimal Ubuntu is designed for completely automated operations, with none of the usual human-friendly utilities for comfortable interactive usage. Editors, documentation, locales and other user-oriented features of Ubuntu Server have been removed. What remains are only the vital components of the boot sequence.  Images still contain ssh, apt and snapd so you can connect and install any package you’re missing. The unminimize tool lets you ‘rehydrate’ your image into a familiar Ubuntu server package set, suitable for command line interaction.

Optimized for cloud hypervisors

Minimal Ubuntu uses the optimized kernels on Amazon Web Services and Google Cloud. The downloadable Minimal Ubuntu image ships with a KVM-optimised kernel and tuned for boot speed and size.

Minimized security cross-section

With fewer installed packages, Minimal Ubuntu images will avoid some security vulnerabilities and require fewer updates over time. Use of Minimal Ubuntu will reduce overall bandwidth consumption for an institution and require less storage.

Download for private clouds, published on public clouds

Minimal Ubuntu images for private clouds are available for download at http://cloud-images.ubuntu.com/minimal/releases/

Minimal Ubuntu images are available on AWS and Google Cloud.

On AWS, see the listing of minimal images at US-WEST 2 minimal images

and on Google Cloud use the SDK CLI with:

 gcloud compute images list --project ubuntu-os-cloud | grep ubuntu-minimal

Using Minimal Images from Dockerhub

On Dockerhub, the new Ubuntu 18.04 LTS image is now the new Minimal Ubuntu 18.04 image. Launching a Docker  instance with docker run ubuntu:18.04  therefore launches a Docker instance with the latest Minimal Ubuntu.

Talk to us today

Interested in running Ubuntu Desktop in your organisation?

Newsletter signup

Select topics you’re interested in

In submitting this form, I confirm that I have read and agree to Canonical’s Privacy Notice and Privacy Policy.

Related posts

PowerShell launches as a snap

PowerShell Core from Microsoft is now available for Linux as a Snap. Built on the .NET Framework, PowerShell is an open source task-based command-line shell and scripting language with the goal of being the ubiquitous language for managing…

How to Manage Multi-Cloud Services with Juju

Introduction Managing a service with deployments in multi-cloud environments can be a challenge in terms of troubleshooting and scalability due to the complexity of dealing with different public cloud providers. An effective way to manage…

6 IDEs you need to know about

Linux has long been a favourite platform with developers due to the rich array of languages and toolchains available. In this article we highlight 6 IDEs that can boost your productivity. Each IDE is just a Snap away so you can easily…