diff options
| author | Kuo-tung Kao <jelly.k@inwinstack.com> | 2015-09-10 13:46:24 +0800 |
|---|---|---|
| committer | Kuo-tung Kao <jelly.k@inwinstack.com> | 2015-09-10 14:58:41 +0800 |
| commit | d4ac18c4fdd19a842af56b2c60fc8b45e2432444 (patch) | |
| tree | 8ac10cf8d6bcd4f17cb8d0957c6b609a0eb50a69 | |
| parent | e7c30a2fd4ae5120c7fb6941d7b9d392bf7ac88f (diff) | |
| download | kolla-d4ac18c4fdd19a842af56b2c60fc8b45e2432444.tar.gz kolla-d4ac18c4fdd19a842af56b2c60fc8b45e2432444.zip | |
build.py fails with error on AUFS
add workaround to avoid the issue to image-building document.
Change-Id: Icf34acb2f25c813dee7c7a3dfbb71560be5a970f
Closes-Bug: #1487458
| -rw-r--r-- | doc/image-building.rst | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst index 364c22e73..069e15abc 100644 --- a/doc/image-building.rst +++ b/doc/image-building.rst @@ -2,7 +2,7 @@ Image building ============== The ``tools/build.py`` script in this repository is -responsible for building docker images. +responsible for building docker images. Guide ----- @@ -64,7 +64,7 @@ When building images, there are two methods of the Openstack install. One is ``binary``. Another is ``source``. The ``binary`` means that Openstack will be installed from apt/yum. And the ``source`` means that Openstack will be installed from source code. -The default method of the Openstack install is ``binary``. +The default method of the Openstack install is ``binary``. You can change it to ``source`` using the following command: :: @@ -101,3 +101,19 @@ Then build RHEL containers: :: build -b rhel -i ./rhel-include + + + +Known issues +------------ + + +1. Can't build base image because docker fails to install systemd. + + + There are some issue between docker and AUFS. The simple workaround + to avoid the issue is that add ``-s devicemapper`` to ``DOCKER_OPTS``. + Get more information about the issue from DockerBug_. + + +.. _DockerBug: https://github.com/docker/docker/issues/6980 |
