2015-06-07 23:07:20 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "Installation on FrugalWare"
|
|
|
|
description = "Installation instructions for Docker on FrugalWare."
|
|
|
|
keywords = ["frugalware linux, virtualization, docker, documentation, installation"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_linux"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
# FrugalWare
|
|
|
|
|
|
|
|
Installing on FrugalWare is handled via the official packages:
|
|
|
|
|
2014-04-23 16:48:28 -04:00
|
|
|
- [lxc-docker i686](http://www.frugalware.org/packages/200141)
|
|
|
|
- [lxc-docker x86_64](http://www.frugalware.org/packages/200130)
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
2014-04-23 16:48:28 -04:00
|
|
|
- systemd
|
|
|
|
- lvm2
|
|
|
|
- sqlite3
|
|
|
|
- libguestfs
|
|
|
|
- lxc
|
|
|
|
- iproute2
|
|
|
|
- bridge-utils
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
A simple
|
|
|
|
|
2015-04-29 15:51:57 -04:00
|
|
|
$ sudo pacman -S lxc-docker
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
is all that is needed.
|
|
|
|
|
|
|
|
## Starting Docker
|
|
|
|
|
|
|
|
There is a systemd service unit created for Docker. To start Docker as
|
|
|
|
service:
|
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo systemctl start lxc-docker
|
2014-04-15 20:53:12 -04:00
|
|
|
|
|
|
|
To start on system boot:
|
|
|
|
|
2014-05-01 10:13:34 -04:00
|
|
|
$ sudo systemctl enable lxc-docker
|
2014-11-25 23:09:52 -05:00
|
|
|
|
|
|
|
## Custom daemon options
|
|
|
|
|
|
|
|
If you need to add an HTTP Proxy, set a different directory or partition for the
|
|
|
|
Docker runtime files, or make other customizations, read our systemd article to
|
2015-10-09 19:50:41 -04:00
|
|
|
learn how to [customize your systemd Docker daemon options](../articles/systemd.md).
|
2015-04-29 15:51:57 -04:00
|
|
|
|
|
|
|
## Uninstallation
|
|
|
|
|
|
|
|
To uninstall the Docker package:
|
|
|
|
|
|
|
|
$ sudo pacman -R lxc-docker
|
|
|
|
|
|
|
|
To uninstall the Docker package and dependencies that are no longer needed:
|
|
|
|
|
|
|
|
$ sudo pacman -Rns lxc-docker
|
|
|
|
|
|
|
|
The above commands will not remove images, containers, volumes, or user created
|
|
|
|
configuration files on your host. If you wish to delete all images, containers,
|
|
|
|
and volumes run the following command:
|
|
|
|
|
|
|
|
$ rm -rf /var/lib/docker
|
|
|
|
|
|
|
|
You must delete the user created configuration files manually.
|