From ca0cd5aa6e2a4d2f389fb77300c9b275960a3969 Mon Sep 17 00:00:00 2001 From: fnst-zhangxin Date: Mon, 22 Oct 2018 09:25:13 -0700 Subject: [PATCH] [CE-484] updata how set docker on ubuntu16.04 the old method "Alternatively" is invaild on ubuntu16.04,but the new method is vaild. CE-484 #done Change-Id: Ie01458ce946e142e424632b5e0836022da4ee5b1 Signed-off-by: fnst-zhangxin --- docs/setup_worker_docker.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/setup_worker_docker.md b/docs/setup_worker_docker.md index 4df91da4f..2c8d92015 100644 --- a/docs/setup_worker_docker.md +++ b/docs/setup_worker_docker.md @@ -25,6 +25,14 @@ Edit systemd service config file `/lib/systemd/system/docker.service`, update th ExecStart=/usr/bin/dockerd -H fd:// -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 --default-ulimit=nofile=8192:16384 --default-ulimit=nproc=8192:16384 ``` +#### Ubuntu 16.04 +Edit systemd service config file `usr/lib/systemd/system/docker.service`, update the `ExecStart` line under section `[Service]`, as the following: + +``` +[Service] +ExecStart=/usr/bin/dockerd -H fd:// -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 --default-ulimit=nofile=8192:16384 --default-ulimit=nproc=8192:16384 +``` + Regenerate the docker service script and restart the docker engine: ```bash