archlinux.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .. _arch_linux:
  2. Arch Linux
  3. ==========
  4. Please note this is a community contributed installation path. The only 'official' installation is using the
  5. :ref:`ubuntu_linux` installation path. This version may sometimes be out of date.
  6. Installing on Arch Linux is not officially supported but can be handled via
  7. either of the following AUR packages:
  8. * `lxc-docker <https://aur.archlinux.org/packages/lxc-docker/>`_
  9. * `lxc-docker-git <https://aur.archlinux.org/packages/lxc-docker-git/>`_
  10. The lxc-docker package will install the latest tagged version of docker.
  11. The lxc-docker-git package will build from the current master branch.
  12. Dependencies
  13. ------------
  14. Docker depends on several packages which are specified as dependencies in
  15. either AUR package.
  16. * aufs3
  17. * bridge-utils
  18. * go
  19. * iproute2
  20. * linux-aufs_friendly
  21. * lxc
  22. Installation
  23. ------------
  24. The instructions here assume **yaourt** is installed. See
  25. `Arch User Repository <https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages>`_
  26. for information on building and installing packages from the AUR if you have not
  27. done so before.
  28. Keep in mind that if **linux-aufs_friendly** is not already installed that a
  29. new kernel will be compiled and this can take quite a while.
  30. ::
  31. yaourt -S lxc-docker-git
  32. Starting Docker
  33. ---------------
  34. Prior to starting docker modify your bootloader to use the
  35. **linux-aufs_friendly** kernel and reboot your system.
  36. There is a systemd service unit created for docker. To start the docker service:
  37. ::
  38. sudo systemctl start docker
  39. To start on system boot:
  40. ::
  41. sudo systemctl enable docker