Skip to content
Snippets Groups Projects
Commit b7d1d986 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

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

parents bceaec7b bd3b79a2
No related branches found
No related tags found
No related merge requests found
...@@ -120,12 +120,21 @@ the drop-in unit file as follows, reload and restart the docker service: ...@@ -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`).
......
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