Ubuntu

The ubuntu image provides a lightweight, flexible base operating system used as a foundation for building and running containerized applications.

Debian
Alpine
busybox
centos

What is ubuntu image?

The ubuntu image contains the popular Debian-based Linux distribution tailored for containers. It provides a stable and secure foundation for building custom application images, offering a balance between usability, compatibility, and size. Ubuntu is one of the most widely used Linux bases for Docker and Kubernetes workloads because of its familiarity, extensive package ecosystem, and strong security update cadence.

This image is commonly used to build and run software in production, development, or CI/CD environments that depend on Ubuntu’s package repositories (apt) or kernel compatibility. It’s also used for debugging, testing, and as a base for language runtimes (like Python, Node, or Go). Its reliability, consistent updates, and large community support make it a standard choice for both developers and enterprises.

How to use this image

The ubuntu image can be used interactively to explore a Linux shell, as a base for custom builds, or in automation pipelines.

Run interactively:

docker run -it ubuntu bash

Run a single command:

docker run ubuntu echo "Hello, world"

Use as a base image in a Dockerfile:

FROM ubuntu:24.04 RUN apt-get update && apt-get install -y curl vim COPY . /app CMD ["bash"]

Logs are output directly to stdout and stderr. The container will exit automatically when the command completes unless run interactively.

Image variants

Published under ubuntu, the image is available in multiple variants:

  • ubuntu:latest
    Tracks the most recent LTS release (currently 24.04).
    Suitable for general use and testing.
  • ubuntu:<version>
    Tagged by release version (e.g. 22.04, 20.04, 18.04).
    Recommended for production environments requiring stability.
  • ubuntu:rolling
    Continuously updated with the latest development packages.
    Useful for testing new features or future compatibility.
  • ubuntu:devel
    Development snapshot for upcoming releases.
    Not intended for production use.

Ubuntu images are rebuilt frequently to include security updates and bug fixes. Version pinning (e.g. ubuntu:22.04) is recommended for reproducibility.

Interested in base images that start and stay clean?

This is a not a valid email
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.