ubuntu
Estimated reading time: 4 minutesUbuntu is a Debian-based Linux operating system based on free software.
GitHub repo: https://github.com/tianon/docker-brew-ubuntu-core
Library reference
This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Hub page for this image at https://hub.docker.com/images/ubuntu
Supported tags and respective Dockerfile
links
18.04
,bionic-20190307
,bionic
,latest
(bionic/Dockerfile)18.10
,cosmic-20190311
,cosmic
,rolling
(cosmic/Dockerfile)19.04
,disco-20190310
,disco
,devel
(disco/Dockerfile)14.04
,trusty-20190305
,trusty
(trusty/Dockerfile)16.04
,xenial-20190222
,xenial
(xenial/Dockerfile)
Quick reference
-
Where to get help:
the Docker Community Forums, the Docker Community Slack, or Stack Overflow -
Where to file issues:
the cloud-images bug tracker (include thedocker
tag) -
Maintained by:
Canonical and Tianon (Debian Developer) -
Supported architectures: (more info)
amd64
,arm32v7
,arm64v8
,i386
,ppc64le
,s390x
-
Published image artifact details:
repo-info repo’srepos/ubuntu/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images PRs with labellibrary/ubuntu
official-images repo’slibrary/ubuntu
file (history) -
Source of this description:
docs repo’subuntu/
directory (history) -
Supported Docker versions:
the latest release (down to 1.6 on a best-effort basis)
What is Ubuntu?
Ubuntu is a Debian-based Linux operating system, with Unity as its default desktop environment. It is based on free software and named after the Southern African philosophy of ubuntu (literally, “human-ness”), which often is translated as “humanity towards others” or “the belief in a universal bond of sharing that connects all humanity”.
Development of Ubuntu is led by UK-based Canonical Ltd., a company owned by South African entrepreneur Mark Shuttleworth. 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.
What’s in this image?
This image is built from official rootfs tarballs provided by Canonical (specifically, https://partner-images.canonical.com/core/).
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 }'
Locales
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
License
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info
repository’s ubuntu/
directory.
As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.