Supported tags and respective
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.
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?
$ docker run ubuntu:14.04 grep -v '^#' /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb http://archive.ubuntu.com/ubuntu/ trusty universe deb-src http://archive.ubuntu.com/ubuntu/ trusty universe deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates universe deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted deb http://archive.ubuntu.com/ubuntu/ trusty-security universe deb-src http://archive.ubuntu.com/ubuntu/ trusty-security universe
$ docker run ubuntu:12.04 cat /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted deb http://archive.ubuntu.com/ubuntu/ precise universe deb-src http://archive.ubuntu.com/ubuntu/ precise universe deb http://archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://archive.ubuntu.com/ubuntu/ precise-updates universe deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted deb http://archive.ubuntu.com/ubuntu/ precise-security universe deb-src http://archive.ubuntu.com/ubuntu/ precise-security universe
Supported Docker versions
This image is officially supported on Docker version 1.11.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.
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
README.md file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a
cve-tracker issue on the
official-images repository first.
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.
use something like VirtualBox for the desktop version. Docker is not for being able to run window managers. Maybe linux gurus can make it happen, but is not for the faint hearted.
Also try to read more on understanding what a docker container is and how it is built, because reading your question you seem to be lost.
docker containers mainly have the idea of "one service per container", but of course there are ways to run multiple inside one. As a tip, read this first: https://docs.docker.com/engine/examples/running_ssh_service
I also had to read much more of the first chapters of the documentation until it boiled down how to think about a container.
thank you for this 14.04.04 Image from Ubuntu.
A short Question I am new and I try to connect by ssh to the running Server but the connection is always refused.
What I can I do?
I run the Image on my synology Diskstaion.
I got this Errors:
ssh -p 65535 firstname.lastname@example.org
ssh -p 65535 email@example.com -v
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.118 [192.168.1.118] port 65535.
debug1: Connection established.
debug1: identity file /home/dufoy/.ssh/id_rsa type -1
debug1: identity file /home/dufoy/.ssh/id_rsa-cert type -1
debug1: identity file /home/dufoy/.ssh/id_dsa type -1
debug1: identity file /home/dufoy/.ssh/id_dsa-cert type -1
debug1: identity file /home/dufoy/.ssh/id_ecdsa type -1
debug1: identity file /home/dufoy/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/dufoy/.ssh/id_ed25519 type -1
debug1: identity file /home/dufoy/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6
ssh_exchange_identification: read: Connection reset by peer
issue append when build from 14.04 to run apt-get update.
Get:20 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources Hash Sum mismatch
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
these two files were modified in apr 1. i can build successful at mar 31, please have a check
Anybody know how to enable tab completion ?
I tried installing bash-completion, but, no luck..
Someone asked me to create Ubuntu desktop and Ubuntu server based docker images for his app.
I'm confused between Ubuntu desktop and server docker images , i have grabbed image for desktop but nothing for Ubuntu server.
Help me please!
Step 4 : RUN curl -sSL https://get.docker.com/ | sh
---> Running in 8813d9354bd9
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.10.0-327.10.1.el7.x86_64/modules.dep.bin'
Warning: current kernel is not supported by the linux-image-extra-virtual
package. We have no AUFS support. Consider installing the packages
linux-image-virtual kernel and linux-image-extra-virtual for AUFS support.
- sleep 10
- sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.jvnMuT5fdf --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
gpg: requesting key 2C52609D from hkp server p80.pool.sks-keyservers.net
gpg: key 2C52609D: public key "Docker Release Tool (releasedocker) firstname.lastname@example.org" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
- sh -c mkdir -p /etc/apt/sources.list.d
- dpkg --print-architecture
- sh -c echo deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
- sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
how can i pull the latest version of ubuntu 14.04 , When i am using FROM ubuntu14.04 ,trusty hair is getting installed , python2.7.6 is getting installed when i try to install python in it, but i want python2.7.11 . Any ideas as how to get the latest version of ubuntu 14.04
[root@c910f05c01bc06 ~]# sudo docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
Status: Image is up to date for ubuntu:latest
[root@c910f05c01bc06 ~]# sudo docker run -it ubuntu:latest
As rufus did before me, I too shall build my container upon this rock.