Skip to content
Snippets Groups Projects
Commit c8904e69 authored by Sam Yaple's avatar Sam Yaple
Browse files

Updated some requirements about docker

We were requiring docker 1.7 for a few reasons at one point. Those
reasons are no longer valid and this change reflects that.

Additionally, this adds some clarifications on the issues with Ubuntu
and AUFS.

Change-Id: I56ca1b08f0abecb6f7644bf63ca939f588ed3ee2
parent 12b70241
No related branches found
No related tags found
No related merge requests found
...@@ -23,37 +23,19 @@ dependencies: ...@@ -23,37 +23,19 @@ dependencies:
cd kolla cd kolla
sudo pip install -r requirements.txt sudo pip install -r requirements.txt
In order to run Kolla, it is mandatory to run a version of `docker` In order to run Kolla, it is mandatory to run a version of `docker` that is
that is 1.7.0-dev or later. Docker 1.5.0 has a defect in `--pid=host` 1.6.0 or later. Docker 1.5.0 has a defect in `--pid=host` support where the
support where the libvirt container cannot be stopped. Docker 1.6.0 lacks libvirt container cannot be stopped and crashes nova-compute on start.
specific features needed by the master of Kolla. Docker 1.7.0-dev introduces
mount propogation which is necessary for Neutron thin containers For most systems you can install the latest stable version of Docker with the
and bindmounting of the /dev filesystem which is mandatory for the cinder following command:
container. curl -sSL https://get.docker.io | bash
If a version of Docker less than 1.7.0-dev is running on your system, stop it: For Ubuntu based systems, do not use AUFS when starting Docker daemon unless
you are running the Utopic (3.19) kernel. AUFS requires CONFIG_AUFS_XATTR=y
sudo systemctl stop docker set when building the kernel. On Ubuntu, versions prior to 3.19 did not set that
sudo killall -9 docker flag. If you are unable to upgrade your kernel, you should use a different
storage backend such as btrfs.
If using an RPM based system, use the Docker 1.7.0-dev RPMs provided by the
Fedora project:
sudo rpm -Uvh --nodeps https://kojipkgs.fedoraproject.org//packages/docker/1.7.0/6.git56481a3.fc23/x86_64/docker-1.7.0-6.git56481a3.fc23.x86_64.rpm
For Debian based systems, use the Docker installation tool provided by Docker,
Inc.:
curl -sSL https://test.docker.com/ | sh
For Ubuntu based systems, use the Docker installation tool provided by Docker,
Inc.:
curl -sSL https://test.docker.com/ubuntu | sh
For Ubuntu based systems, do not use aufs when starting Docker daemon. Instead
use other storage options, e.g., btrfs. This is because cap_set_file is not
permitted on aufs when building docker images.
Next, install the OpenStack python clients if they are not installed: Next, install the OpenStack python clients if they are not installed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment