Skip to content
A.I edited this page Jul 8, 2016 · 13 revisions

Swarm mode on Barge

#```bash [bargee@node-01 ~]$ sudo /etc/init.d/docker restart v1.12.0-rc2 [bargee@node-01 ~]$ docker swarm init --listen-addr ":2377"


You may need to specify `--listen-addr "<manager-ip-address>:2377"` in case of https://github.com/docker/docker/issues/23877#issuecomment-229224920 .

```bash
[bargee@node-02 ~]$ sudo /etc/init.d/docker restart v1.12.0-rc2
[bargee@node-02 ~]$ docker swarm join "<manager-ip-address>:2377"

See also https://github.com/ailispaw/swarm-barge.

Clone this wiki locally