Skip to content

Commit

Permalink
[CE-490]Add a new command to start worker with mac os
Browse files Browse the repository at this point in the history
make it more friendly for users to start a docker worker node with mac os

CE-490 #done

Change-Id: I973682cb38813ea75606d2d50f4b8e8a1e772b33
Signed-off-by: meilier <[email protected]>
  • Loading branch information
meilier committed Oct 27, 2018
1 parent 0bf79ca commit 9de6569
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/setup_worker_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,10 @@ $ docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:2375:2
$ docker -H 127.0.0.1:2375 info
```

And users can use `0.0.0.0` to replace `127.0.0.1` to make sure Master can reach Worker Node through this port, as Ubuntu.

```bash
$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 0.0.0.0:2375:2375 bobrik/socat TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock
```

<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

0 comments on commit 9de6569

Please sign in to comment.