Advisory: This site contains documentation for the v1.12 release candidate version of Docker Engine. For the Docker Engine v1.11 docs, see https://docs.docker.com/v1.11/. Docker for Mac and Docker for Windows are currently in Beta.
Installing on FrugalWare is handled via the official packages:
The lxc-docker package will install the latest tagged version of Docker.
Docker depends on several packages which are specified as dependencies in the packages. The core dependencies are:
$ sudo pacman -S lxc-docker
is all that is needed.
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
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.
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.