mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Installation for FrugalWare
This commit is contained in:
parent
a2fcd3d8f0
commit
158e3d60ec
1 changed files with 80 additions and 0 deletions
80
docs/sources/installation/frugalware.rst
Normal file
80
docs/sources/installation/frugalware.rst
Normal file
|
@ -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 <http://www.frugalware.org/packages/200141>`_
|
||||||
|
|
||||||
|
* `lxc-docker x86_64 <http://www.frugalware.org/packages/200130>`_
|
||||||
|
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue