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

Merge "Fix some minor errors in the doc"

parents 4d1b3e24 c3410a9c
No related branches found
No related tags found
No related merge requests found
......@@ -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]``
......
......@@ -135,6 +135,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
......
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