Merge "Add guide to auto mount /run as shared"

This commit is contained in:
Jenkins 2016-08-17 11:20:17 +00:00 committed by Gerrit Code Review
commit b7d1d98668

View File

@ -120,12 +120,21 @@ the drop-in unit file as follows, reload and restart the docker service:
systemctl daemon-reload systemctl daemon-reload
systemctl restart docker systemctl restart docker
For Ubuntu 14.04 which uses upstart instead of systemd, run the following: For Ubuntu 14.04 which uses upstart and other non-systemd distros,
run the following:
:: ::
mount --make-shared /run mount --make-shared /run
For mounting ``/run`` as shared upon startup, add that command to
``/etc/rc.local``
::
# Edit /etc/rc.local to add:
mount --make-shared /run
.. note:: If centos/fedora/oraclelinux container images are built on an Ubuntu .. 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 host, the backend storage driver must not be AUFS (see the known issues in
:doc:`image-building`). :doc:`image-building`).