发布于 2015-09-10 16:06:35 | 240 次阅读 | 评论: 0 | 来源: 网络整理
注解
Docker is still under heavy development! We don’t recommend using it in production yet, but we’re getting closer with each release. Please see our blog post, “Getting to Docker 1.0”
注解
This is a community contributed installation path. The only ‘official’ installation is using the Ubuntu installation path. This version may be out of date because it depends on some binaries to be updated and published
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.
Docker depends on several packages which are specified as dependencies in the packages. The core dependencies are:
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.
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