Skip to content
Snippets Groups Projects
Commit 5b871d15 authored by Hui Kang's avatar Hui Kang
Browse files

Do not use AUFS for centos/fedora/oraclelinux container images on ubuntu host

Change-Id: I9e9a96b71498a7d824d34e21028ad73f57302125
Closes-Bug: #1579583
parent 4db24f49
No related branches found
No related tags found
No related merge requests found
...@@ -188,11 +188,13 @@ image, the operator would add the following block to ...@@ -188,11 +188,13 @@ image, the operator would add the following block to
Known issues Known issues
============ ============
1. Can't build base image because docker fails to install systemd. 1. Can't build base image because docker fails to install systemd or httpd.
There are some issues between docker and AUFS. The simple workaround to There are some issues between docker and AUFS. The simple workaround to
avoid the issue is that add ``-s devicemapper`` to ``DOCKER_OPTS``. Get avoid the issue is that add ``-s devicemapper`` or ``-s btrfs`` to
more information about the issue from DockerBug_. ``DOCKER_OPTS``. Get more information about `the issue from the Docker bug
tracker <https://github.com/docker/docker/issues/6980>`_ and `how to
configure Docker with BTRFS backend <https://docs.docker.com/engine/userguide/storagedriver/btrfs-driver/#prerequisites>`_.
2. Mirrors are unreliable. 2. Mirrors are unreliable.
...@@ -298,5 +300,4 @@ variables that will be picked up from the user env:: ...@@ -298,5 +300,4 @@ variables that will be picked up from the user env::
Also these variables could be overwritten using ``--build-args``, which have Also these variables could be overwritten using ``--build-args``, which have
precedence. precedence.
.. _DockerBug: https://github.com/docker/docker/issues/6980
.. _drivers: https://wiki.openstack.org/wiki/Neutron#Plugins .. _drivers: https://wiki.openstack.org/wiki/Neutron#Plugins
...@@ -117,6 +117,9 @@ For Ubuntu 14.04 which uses upstart instead of systemd, run the following: ...@@ -117,6 +117,9 @@ For Ubuntu 14.04 which uses upstart instead of systemd, run the following:
mount --make-shared /run mount --make-shared /run
.. NOTE:: If centos/fedora/oraclelinux container images are built on an Ubuntu
host, the backend storage driver must not be AUFS (see the known issues in
:doc:`image-building`).
On the target hosts you also need an updated version of the Docker python On the target hosts you also need an updated version of the Docker python
libraries: libraries:
......
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