frugalware.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. :title: Installation on FrugalWare
  2. :description: Docker installation on FrugalWare.
  3. :keywords: frugalware linux, virtualization, docker, documentation, installation
  4. .. _frugalware:
  5. FrugalWare
  6. ==========
  7. .. include:: install_header.inc
  8. .. include:: install_unofficial.inc
  9. Installing on FrugalWare is handled via the official packages:
  10. * `lxc-docker i686 <http://www.frugalware.org/packages/200141>`_
  11. * `lxc-docker x86_64 <http://www.frugalware.org/packages/200130>`_
  12. The `lxc-docker` package will install the latest tagged version of Docker.
  13. Dependencies
  14. ------------
  15. Docker depends on several packages which are specified as dependencies in
  16. the packages. The core dependencies are:
  17. * systemd
  18. * lvm2
  19. * sqlite3
  20. * libguestfs
  21. * lxc
  22. * iproute2
  23. * bridge-utils
  24. Installation
  25. ------------
  26. A simple
  27. ::
  28. pacman -S lxc-docker
  29. is all that is needed.
  30. Starting Docker
  31. ---------------
  32. There is a systemd service unit created for Docker. To start Docker as service:
  33. ::
  34. sudo systemctl start lxc-docker
  35. To start on system boot:
  36. ::
  37. sudo systemctl enable lxc-docker
  38. Network Configuration
  39. ---------------------
  40. IPv4 packet forwarding is disabled by default on FrugalWare, so Internet access from inside
  41. the container may not work.
  42. To enable packet forwarding, run the following command as the ``root`` user on the host system:
  43. ::
  44. sysctl net.ipv4.ip_forward=1
  45. And, to make it persistent across reboots, add the following to a file named **/etc/sysctl.d/docker.conf**:
  46. ::
  47. net.ipv4.ip_forward=1