diff --git a/docs/sources/installation/frugalware.rst b/docs/sources/installation/frugalware.rst new file mode 100644 index 0000000000..cda6c4bfc4 --- /dev/null +++ b/docs/sources/installation/frugalware.rst @@ -0,0 +1,80 @@ +:title: Installation on FrugalWare +:description: Docker installation on FrugalWare. +:keywords: frugalware linux, virtualization, docker, documentation, installation + +.. _frugalware: + +FrugalWare +========== + +.. include:: install_header.inc + +.. include:: install_unofficial.inc + +Installing on FrugalWare is handled via the official packages: + +* `lxc-docker i686 `_ + +* `lxc-docker x86_64 `_ + +The `lxc-docker` package will install the latest tagged version of Docker. + +Dependencies +------------ + +Docker depends on several packages which are specified as dependencies in +the packages. The core dependencies are: + +* systemd +* lvm2 +* sqlite3 +* libguestfs +* lxc +* iproute2 +* bridge-utils + + +Installation +------------ + +A simple +:: + + pacman -S lxc-docker + +is all that is needed. + + +Starting Docker +--------------- + +There is a systemd service unit created for Docker. To start Docker as service: + +:: + + sudo systemctl start lxc-docker + + +To start on system boot: + +:: + + sudo systemctl enable lxc-docker + +Network Configuration +--------------------- + +IPv4 packet forwarding is disabled by default on FrugalWare, so Internet access from inside +the container may not work. + +To enable packet forwarding, run the following command as the ``root`` user on the host system: + +:: + + sysctl net.ipv4.ip_forward=1 + +And, to make it persistent across reboots, add the following to a file named **/etc/sysctl.d/docker.conf**: + +:: + + net.ipv4.ip_forward=1 diff --git a/docs/sources/installation/index.rst b/docs/sources/installation/index.rst index b2882a5cb3..9026b1f7f4 100644 --- a/docs/sources/installation/index.rst +++ b/docs/sources/installation/index.rst @@ -22,6 +22,7 @@ Contents: fedora archlinux gentoolinux + frugalware vagrant windows amazon