archlinux.rst 1.4 KB

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