Skip to content

Commit

Permalink
[CE-484] updata how set docker on ubuntu16.04
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fnst-zhangxin committed Oct 22, 2018
1 parent bf212da commit ca0cd5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/setup_worker_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca0cd5a

Please sign in to comment.