1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources/installation/archlinux.md
Sven Dowideit d53b586ff1 Extract the systemd docs from various places and add a little more
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com>
2014-11-27 10:17:46 +10:00

1.6 KiB

page_title: Installation on Arch Linux page_description: Installation instructions for Docker on ArchLinux. page_keywords: arch linux, virtualization, docker, documentation, installation

Arch Linux

Installing on Arch Linux can be handled via the package in community:

or the following AUR package:

The docker package will install the latest tagged version of docker. The docker-git package will build from the current master branch.

Dependencies

Docker depends on several packages which are specified as dependencies in the packages. The core dependencies are:

  • bridge-utils
  • device-mapper
  • iproute2
  • lxc
  • sqlite

Installation

For the normal package a simple

pacman -S docker

is all that is needed.

For the AUR package execute:

yaourt -S docker-git

The instructions here assume yaourt is installed. See Arch User Repository for information on building and installing packages from the AUR if you have not done so before.

Starting Docker

There is a systemd service unit created for docker. To start the docker service:

$ sudo systemctl start docker

To start on system boot:

$ sudo systemctl enable 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.