-
Notifications
You must be signed in to change notification settings - Fork 15
How To
A.I edited this page Jul 8, 2016
·
13 revisions
[bargee@node-01 ~]$ sudo /etc/init.d/docker restart v1.12.0-rc3
[bargee@node-01 ~]$ docker swarm init --listen-addr "<manager-ip-address>:2377"
You may need to specify
--listen-addr "<manager-ip-address>:2377"
in case of https://github.com/docker/docker/issues/23877#issuecomment-229224920 .
[bargee@node-02 ~]$ sudo /etc/init.d/docker restart v1.12.0-rc3
[bargee@node-02 ~]$ docker swarm join "<manager-ip-address>:2377"
See also https://github.com/ailispaw/swarm-barge.
[bargee@barge ~]$ sudo -i
[root@barge ~]# pkg install shadow
[root@barge ~]# echo "dockremap:100000:65536" > /etc/subuid
[root@barge ~]# echo "dockremap:100000:65536" > /etc/subgid
[root@barge ~]# echo 'DOCKER_EXTRA_ARGS="--userland-proxy=false --userns-remap=default"' >> /etc/default/docker
[root@barge ~]# /etc/init.d/docker restart v1.11.2