ubuntulinux.rst 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. _ubuntu_linux:
  2. Ubuntu Linux
  3. ============
  4. Installing on Ubuntu 12.04 and 12.10
  5. Right now, the officially supported distributions are:
  6. Ubuntu 12.04 (precise LTS)
  7. Ubuntu 12.10 (quantal)
  8. Docker probably works on other distributions featuring a recent kernel, the AUFS patch, and up-to-date lxc. However this has not been tested.
  9. Install dependencies:
  10. ---------------------
  11. ::
  12. sudo apt-get install lxc wget bsdtar curl
  13. sudo apt-get install linux-image-extra-`uname -r`
  14. The linux-image-extra package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
  15. Install the latest docker binary:
  16. ::
  17. wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
  18. tar -xf docker-master.tgz
  19. Run your first container!
  20. ::
  21. cd docker-master
  22. ::
  23. sudo ./docker run -i -t base /bin/bash
  24. Consider adding docker to your PATH for simplicity.
  25. Continue with the :ref:`hello_world` example.