From 158e3d60ec016778b2a2615885f6a880509644f3 Mon Sep 17 00:00:00 2001 From: Daniel Exner Date: Sat, 21 Dec 2013 23:38:13 +0100 Subject: [PATCH 1/3] Installation for FrugalWare --- docs/sources/installation/frugalware.rst | 80 ++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 docs/sources/installation/frugalware.rst diff --git a/docs/sources/installation/frugalware.rst b/docs/sources/installation/frugalware.rst new file mode 100644 index 0000000000..62f8a701c1 --- /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 the docker 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 the forwarding, run as root on the host system: + +:: + + sysctl net.ipv4.ip_forward=1 + +And, to make it persistent across reboots, enable it on the host's **/etc/sysctl.d/docker.conf**: + +:: + + net.ipv4.ip_forward=1 From 3edbf416bfaed2c7bacc3c5ef572efb59b4e2082 Mon Sep 17 00:00:00 2001 From: Daniel Exner Date: Sun, 22 Dec 2013 00:00:20 +0100 Subject: [PATCH 2/3] + added missing link in index.rst * some gramatic and spelling fixes Thx jamtur :) --- docs/sources/installation/frugalware.rst | 10 +++++----- docs/sources/installation/index.rst | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/sources/installation/frugalware.rst b/docs/sources/installation/frugalware.rst index 62f8a701c1..d4b404278e 100644 --- a/docs/sources/installation/frugalware.rst +++ b/docs/sources/installation/frugalware.rst @@ -17,7 +17,7 @@ Installing on FrugalWare is handled via the official packages: * `lxc-docker x86_64 `_ -The lxc-docker package will install the latest tagged version of docker. +The `lxc-docker` package will install the latest tagged version of docker. Dependencies ------------ @@ -48,7 +48,7 @@ is all that is needed. Starting Docker --------------- -There is a systemd service unit created for docker. To start the docker service: +There is a systemd service unit created for Docker. To start Docker as service: :: @@ -64,16 +64,16 @@ To start on system boot: Network Configuration --------------------- -IPv4 packet forwarding is disabled by default on FrugalWare, so internet access from inside +IPv4 packet forwarding is disabled by default on FrugalWare, so Internet access from inside the container may not work. -To enable the forwarding, run as root on the host system: +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, enable it on the host's **/etc/sysctl.d/docker.conf**: +And, to make it persistent across reboots, add the following to a file named **/etc/sysctl.d/docker.conf**: :: 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 From d256f3049b36ae1a1dd596535b4a82d265ff9eee Mon Sep 17 00:00:00 2001 From: Daniel Exner Date: Fri, 27 Dec 2013 11:55:57 +0100 Subject: [PATCH 3/3] * s/docker/Docker/ --- docs/sources/installation/frugalware.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/installation/frugalware.rst b/docs/sources/installation/frugalware.rst index d4b404278e..cda6c4bfc4 100644 --- a/docs/sources/installation/frugalware.rst +++ b/docs/sources/installation/frugalware.rst @@ -17,7 +17,7 @@ Installing on FrugalWare is handled via the official packages: * `lxc-docker x86_64 `_ -The `lxc-docker` package will install the latest tagged version of docker. +The `lxc-docker` package will install the latest tagged version of Docker. Dependencies ------------