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
This commit is contained in:
caowei 2016-07-25 20:39:25 -04:00 committed by Wei Cao
parent 5a21032fb0
commit c3410a9cfe
2 changed files with 6 additions and 2 deletions

View File

@ -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]``

View File

@ -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