From c3410a9cfe626922d9cb452ba990e3ad56481653 Mon Sep 17 00:00:00 2001 From: caowei Date: Mon, 25 Jul 2016 20:39:25 -0400 Subject: [PATCH] Fix some minor errors in the doc 1.remove the # - it makes copy and paste very difficult 2.change "ubuntu" to "Ubuntu" 3.add "Restart docker by executing the following commands: " TrivialFix Change-Id: I0192d9fd7f597b0e2dc8d26d4fe5ba8b32483ce0 --- doc/multinode.rst | 4 ++-- doc/quickstart.rst | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/multinode.rst b/doc/multinode.rst index b867cc1f08..37bfe53e1f 100644 --- a/doc/multinode.rst +++ b/doc/multinode.rst @@ -52,12 +52,12 @@ Edit ``/etc/default/docker`` and add: # Ubuntu DOCKER_OPTS="--insecure-registry 192.168.1.100:4000" -If ubuntu is using systemd, additional settings needs to be configured. +If Ubuntu is using systemd, additional settings needs to be configured. Copy docker's systemd unit file to ``/etc/systemd/system/`` directory: :: - # cp /lib/systemd/system/docker.service /etc/systemd/system/docker.service + cp /lib/systemd/system/docker.service /etc/systemd/system/docker.service Next, modify ``/etc/systemd/system/docker.service``, add ``environmentFile`` variable and add ``$DOCKER_OPTS`` to the end of ExecStart in ``[Service]`` diff --git a/doc/quickstart.rst b/doc/quickstart.rst index 31a10608f7..b3856fc1a6 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -116,6 +116,10 @@ the drop-in unit file as follows, reload and restart the docker service: MountFlags=shared EOF +Restart docker by executing the following commands: + +:: + # Run these commands to reload the daemon systemctl daemon-reload systemctl restart docker