build.py fails with error on AUFS
add workaround to avoid the issue to image-building document. Change-Id: Icf34acb2f25c813dee7c7a3dfbb71560be5a970f Closes-Bug: #1487458
This commit is contained in:
parent
e7c30a2fd4
commit
d4ac18c4fd
@ -2,7 +2,7 @@ Image building
|
|||||||
==============
|
==============
|
||||||
|
|
||||||
The ``tools/build.py`` script in this repository is
|
The ``tools/build.py`` script in this repository is
|
||||||
responsible for building docker images.
|
responsible for building docker images.
|
||||||
|
|
||||||
Guide
|
Guide
|
||||||
-----
|
-----
|
||||||
@ -64,7 +64,7 @@ When building images, there are two methods of the Openstack install.
|
|||||||
One is ``binary``. Another is ``source``.
|
One is ``binary``. Another is ``source``.
|
||||||
The ``binary`` means that Openstack will be installed from apt/yum.
|
The ``binary`` means that Openstack will be installed from apt/yum.
|
||||||
And the ``source`` means that Openstack will be installed from source code.
|
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:
|
You can change it to ``source`` using the following command:
|
||||||
|
|
||||||
::
|
::
|
||||||
@ -101,3 +101,19 @@ Then build RHEL containers:
|
|||||||
::
|
::
|
||||||
|
|
||||||
build -b rhel -i ./rhel-include
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user