github.com/jogo/docker@v1.7.0-rc1/docs/sources/installation/archlinux.md (about)

     1  page_title: Installation on Arch Linux
     2  page_description: Installation instructions for Docker on ArchLinux.
     3  page_keywords: arch linux, virtualization, docker, documentation, installation
     4  
     5  # Arch Linux
     6  
     7  Installing on Arch Linux can be handled via the package in community:
     8  
     9   - [docker](https://www.archlinux.org/packages/community/x86_64/docker/)
    10  
    11  or the following AUR package:
    12  
    13   - [docker-git](https://aur.archlinux.org/packages/docker-git/)
    14  
    15  The docker package will install the latest tagged version of docker. The
    16  docker-git package will build from the current master branch.
    17  
    18  ## Dependencies
    19  
    20  Docker depends on several packages which are specified as dependencies
    21  in the packages. The core dependencies are:
    22  
    23   - bridge-utils
    24   - device-mapper
    25   - iproute2
    26   - lxc
    27   - sqlite
    28  
    29  ## Installation
    30  
    31  For the normal package a simple
    32  
    33      $ sudo pacman -S docker
    34  
    35  is all that is needed.
    36  
    37  For the AUR package execute:
    38  
    39      $ sudo yaourt -S docker-git
    40  
    41  The instructions here assume **yaourt** is installed. See [Arch User
    42  Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages)
    43  for information on building and installing packages from the AUR if you
    44  have not done so before.
    45  
    46  ## Starting Docker
    47  
    48  There is a systemd service unit created for docker. To start the docker
    49  service:
    50  
    51      $ sudo systemctl start docker
    52  
    53  To start on system boot:
    54  
    55      $ sudo systemctl enable docker
    56  
    57  ## Custom daemon options
    58  
    59  If you need to add an HTTP Proxy, set a different directory or partition for the
    60  Docker runtime files, or make other customizations, read our systemd article to
    61  learn how to [customize your systemd Docker daemon options](/articles/systemd/).
    62  
    63  ## Uninstallation
    64  
    65  To uninstall the Docker package:
    66  
    67      $ sudo pacman -R docker
    68  
    69  To uninstall the Docker package and dependencies that are no longer needed:
    70  
    71      $ sudo pacman -Rns docker
    72  
    73  The above commands will not remove images, containers, volumes, or user created
    74  configuration files on your host. If you wish to delete all images, containers,
    75  and volumes run the following command:
    76  
    77      $ rm -rf /var/lib/docker
    78  
    79  You must delete the user created configuration files manually.