ubuntulinux.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. To run docker as a daemon, in the background, and allow non-root users to run ``docker`` start
  26. docker -d
  27. ::
  28. sudo ./docker -d &
  29. Consider adding docker to your PATH for simplicity.
  30. Continue with the :ref:`hello_world` example.