ubuntulinux.rst 1.0 KB

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