1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/installation/frugalware.md
Jeff Anderson 0d1c5193b3 Change "virtualization" to "containerization"
* Wording around what docker-machine does since the phrase "Docker virtual machine" can cause some confusion.
* Docker Machine isn't a distro in and of itself. It still uses boot2docker as the distro.
* Remove "virtualization" keywords.

Signed-off-by: Jeff Anderson <jeff@docker.com>
2015-12-08 15:08:27 -07:00

1.8 KiB

FrugalWare

Installing on FrugalWare is handled via the official packages:

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

$ sudo 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

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 learn how to customize your systemd Docker daemon options.

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.