1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources/installation/ubuntulinux.rst

61 lines
1.4 KiB
ReStructuredText
Raw Normal View History

2013-04-22 21:38:42 -04:00
.. _ubuntu_linux:
Ubuntu Linux
============
**Please note this project is currently under heavy development. It should not be used in production.**
Right now, the officially supported distributions are:
- Ubuntu 12.04 (precise LTS) (64-bit)
- Ubuntu 12.10 (quantal) (64-bit)
Dependencies
------------
The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
.. code-block:: bash
2013-05-06 15:00:39 -04:00
sudo apt-get install linux-image-extra-`uname -r` lxc bsdtar
Installation
------------
Docker is available as a Ubuntu PPA (Personal Package Archive),
`hosted on launchpad <https://launchpad.net/~dotcloud/+archive/lxc-docker>`_
which makes installing Docker on Ubuntu very easy.
Add the custom package sources to your apt sources list. Copy and paste the following lines at once.
2013-04-19 23:59:43 -04:00
.. code-block:: bash
2013-04-22 21:38:42 -04:00
sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"
Update your sources. You will see a warning that GPG signatures cannot be verified.
2013-04-19 23:59:43 -04:00
.. code-block:: bash
2013-04-19 23:59:43 -04:00
sudo apt-get update
Now install it, you will see another warning that the package cannot be authenticated. Confirm install.
2013-04-19 23:59:43 -04:00
.. code-block:: bash
apt-get install lxc-docker
2013-04-22 21:38:42 -04:00
Verify it worked
2013-04-19 23:59:43 -04:00
.. code-block:: bash
2013-04-19 23:59:43 -04:00
docker
2013-04-22 21:38:42 -04:00
**Done!**, now continue with the :ref:`hello_world` example.