From 84c13a3dcf8a0f884d3b95b8f3515e0040816691 Mon Sep 17 00:00:00 2001 From: Shawn Siefkas Date: Thu, 18 Apr 2013 09:17:31 -0500 Subject: [PATCH 1/2] Adding archlinux packaging documentation --- packaging/archlinux/README.archlinux | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packaging/archlinux/README.archlinux diff --git a/packaging/archlinux/README.archlinux b/packaging/archlinux/README.archlinux new file mode 100644 index 0000000000..f20d2d25bc --- /dev/null +++ b/packaging/archlinux/README.archlinux @@ -0,0 +1,25 @@ +Docker on Arch +============== + +The AUR lxc-docker and lxc-docker-git packages handle building docker on Arch +linux. The PKGBUILD specifies all dependencies, build, and packaging steps. + +Dependencies +============ + +The only buildtime dependencies are git and go which are available via pacman. +The -s flag can be used on makepkg commands below to automatically install +these dependencies. + +Building Package +================ + +Download the tarball for either AUR packaged to a local directory. In that +directory makepkg can be run to build the package. + +# Build the binary package +makepkg + +# Build an updated source tarball +makepkg --source + From 7eda9c64b80ff43af5e90b37a3830615034fefee Mon Sep 17 00:00:00 2001 From: Shawn Siefkas Date: Thu, 18 Apr 2013 09:17:57 -0500 Subject: [PATCH 2/2] Updating the arch linux installation docs New AUR package name Adding systemd service unit info --- docs/sources/installation/archlinux.rst | 28 +++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/docs/sources/installation/archlinux.rst b/docs/sources/installation/archlinux.rst index c6de247d6c..e809974053 100644 --- a/docs/sources/installation/archlinux.rst +++ b/docs/sources/installation/archlinux.rst @@ -6,16 +6,16 @@ Arch Linux Installing on Arch Linux is not officially supported but can be handled via either of the following AUR packages: -* `dotcloud-docker `_ -* `dotcloud-docker-git `_ +* `lxc-docker `_ +* `lxc-docker-git `_ -The dotcloud-docker package will install the latest tagged version of docker. -The dotcloud-docker-git package will build from the current master branch. +The lxc-docker package will install the latest tagged version of docker. +The lxc-docker-git package will build from the current master branch. Dependencies ------------ -Docker depends on several packages which will be installed automatically with +Docker depends on several packages which are specified as dependencies in either AUR package. * aufs3 @@ -23,6 +23,7 @@ either AUR package. * go * iproute2 * linux-aufs_friendly +* lxc Installation ------------ @@ -37,7 +38,22 @@ new kernel will be compiled and this can take quite a while. :: - yaourt -S dotcloud-docker-git + yaourt -S lxc-docker-git + +Starting Docker +--------------- Prior to starting docker modify your bootloader to use the **linux-aufs_friendly** kernel and reboot your system. + +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