github.com/nf/docker@v1.8.1/docs/installation/archlinux.md (about)

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