Skip to content

Commit

Permalink
Merge "[CE-484] updata how set docker on ubuntu16.04"
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahaoc1993 authored and Gerrit Code Review committed Oct 26, 2018
2 parents dec726f + ca0cd5a commit ea7d123
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 ea7d123

Please sign in to comment.