ubuntulinux.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .. _ubuntu_linux:
  2. Ubuntu Linux
  3. ============
  4. **Please note this project is currently under heavy development. It should not be used in production.**
  5. Right now, the officially supported distributions are:
  6. - Ubuntu 12.04 (precise LTS) (64-bit)
  7. - Ubuntu 12.10 (quantal) (64-bit)
  8. Dependencies
  9. ------------
  10. The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
  11. .. code-block:: bash
  12. sudo apt-get install linux-image-extra-`uname -r` lxc bsdtar
  13. Installation
  14. ------------
  15. Docker is available as a Ubuntu PPA (Personal Package Archive),
  16. `hosted on launchpad <https://launchpad.net/~dotcloud/+archive/lxc-docker>`_
  17. which makes installing Docker on Ubuntu very easy.
  18. Add the custom package sources to your apt sources list. Copy and paste the following lines at once.
  19. .. code-block:: bash
  20. sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"
  21. Update your sources. You will see a warning that GPG signatures cannot be verified.
  22. .. code-block:: bash
  23. sudo apt-get update
  24. Now install it, you will see another warning that the package cannot be authenticated. Confirm install.
  25. .. code-block:: bash
  26. curl get.docker.io | sudo sh -x
  27. Verify it worked
  28. .. code-block:: bash
  29. docker
  30. **Done!**, now continue with the :ref:`hello_world` example.