From bd3b79a26d5e5b59db62959524d7727dc57a2c69 Mon Sep 17 00:00:00 2001 From: Duong Ha-Quang Date: Wed, 17 Aug 2016 18:44:42 +0700 Subject: [PATCH] Add guide to auto mount /run as shared Add guide: auto mount /run as shared upon startup to quickstart guide Change-Id: Icd6ad399a97e15ff357e75fa52e9646e78d09e21 --- doc/quickstart.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/quickstart.rst b/doc/quickstart.rst index ee5c946fd5..31a10608f7 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -120,12 +120,21 @@ the drop-in unit file as follows, reload and restart the docker service: systemctl daemon-reload 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 +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 host, the backend storage driver must not be AUFS (see the known issues in :doc:`image-building`).