-
Maintained by:
Buluma (Shadow Walker) -
Where to get help:
the Docker Community Forums, the Docker Community Slack, or Stack Overflow
14.04
,trusty-20191217
,trusty
16.04
,xenial-20210804
,xenial
18.04
,bionic-20210930
,bionic
20.04
,focal-20211006
,focal
,latest
21.04
,hirsute-20211107
,hirsute
21.10
,impish-20211102
,impish
,rolling
22.04
,jammy-20211122
,jammy
23.04
,lunar-20230314
,lunar
,latest
-
Where to file issues:
the cloud-images bug tracker (include thedocker
tag) -
Supported architectures: (more info)
amd64
,arm32v7
,arm64v8
,i386
,ppc64le
,riscv64
,s390x
-
Published image artifact details:
repo-info repo'srepos/ubuntu/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/ubuntu
file (history) -
Source of this description:
docs repo'subuntu/
directory (history)
Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
opment of Ubuntu is led by Canonical Ltd. Canonical generates revenue through the sale of technical support and other services related to Ubuntu. The Ubuntu project is publicly committed to the principles of open-source software development; people are encouraged to use free software, study how it works, improve upon it, and distribute it.
This image is built from official rootfs tarballs provided by Canonical (specifically, https://partner-images.canonical.com/oci/ for Bionic and later and https://partner-images.canonical.com/core/ for older releases).
The ubuntu:latest
tag points to the "latest LTS", since that's the version recommended for general use. The ubuntu:rolling
tag points to the latest release (regardless of LTS status).
Along a similar vein, the ubuntu:devel
tag is an alias for whichever release the "devel" suite on the mirrors currently points to, as determined by the following one-liner: wget -qO- http://archive.ubuntu.com/ubuntu/dists/devel/Release | awk -F ': ' '$1 == "Codename" { print $2; exit }'
Given that it is a minimal install of Ubuntu, this image only includes the C
, C.UTF-8
, and POSIX
locales by default. For most uses requiring a UTF-8 locale, C.UTF-8
is likely sufficient (-e LANG=C.UTF-8
or ENV LANG C.UTF-8
).
For uses where that is not sufficient, other locales can be installed/generated via the locales
package. PostgreSQL has a good example of doing so, copied below:
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
The tarballs published by Canonical are built from scripts that live in the livecd-rootfs project, especially live-build/auto/build
.