Official Repository

Last pushed: 3 days ago
Short Description 
Ubuntu is a Debian-based Linux operating system based on free software.
Full Description 
Supported tags and respective Dockerfile links

For more information about this image and its history, please see the relevant manifest file (library/ubuntu). This image is updated via pull requests to the docker-library/official-images GitHub repo.

For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the ubuntu/ file in the docker-library/docs GitHub repo.

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? /etc/apt/sources.list


$ docker run ubuntu:14.04 grep -v '^#' /etc/apt/sources.list

deb trusty main restricted
deb-src trusty main restricted

deb trusty-updates main restricted
deb-src trusty-updates main restricted

deb trusty universe
deb-src trusty universe
deb trusty-updates universe
deb-src trusty-updates universe

deb trusty-security main restricted
deb-src trusty-security main restricted
deb trusty-security universe
deb-src trusty-security universe


$ docker run ubuntu:12.04 cat /etc/apt/sources.list

deb precise main restricted
deb-src precise main restricted

deb precise-updates main restricted
deb-src precise-updates main restricted

deb precise universe
deb-src precise universe
deb precise-updates universe
deb-src precise-updates universe

deb precise-security main restricted
deb-src precise-security main restricted
deb precise-security universe
deb-src precise-security universe
Supported Docker versions

This image is officially supported on Docker version 1.9.1.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

User Feedback Documentation

Documentation for this image is stored in the ubuntu/ directory of the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's file before attempting a pull request.


If you have any problems with or questions about this image, please contact us through a GitHub issue.

You can also reach many of the official image maintainers via the #docker-library IRC channel on Freenode.


You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Docker Pull Command

Comments (50)
2 years ago

upon this rock I shall build my container.

2 years ago

nice to see comments!

2 years ago

Any plans on advancing this base image to raring/saucy? The stackbrew images work just fine, we would however prefer "official" base images.

2 years ago

: )

2 years ago

The Short Description should be updated.

General use Ubuntu base image. Tags available are "latest" (equivalent to the tags "precise" and "12.04"), "saucy" ("13.10"), "raring" ("13.04"), "quantel" ("12.10"), and "lucid" ("10.04"). The "latest" tag is equivalent to the most recent Long Term Support (LTS) release of Ubuntu. This image replaces the deprecated "base" image.

2 years ago

It seems like this image was updated recently. The "universe" section is now included by default (at least in ubuntu:12.04).

Wondering if Dockerfiles can check if a user is using the latest version of this image?

2 years ago


2 years ago

when will you provide ubuntu 14.04?

2 years ago

Is there a difference between named tags and numbered tags? Eg, does precise exactly equal 12.04, or are there differences?

2 years ago

@byrongibson - 12.04 equals precise here, which you can see by looking at the Image ID column