How to make cote work with docker?
crapthings opened this issue · 2 comments
crapthings commented
docker swarm init
docker plugin install weaveworks/net-plugin:latest_release
docker plugin disable weaveworks/net-plugin:latest_release
docker plugin set weaveworks/net-plugin:latest_release WEAVE_MULTICAST=1
docker plugin enable weaveworks/net-plugin:latest_release
docker network create --driver=weaveworks/net-plugin:latest_release --attachable mynetwork
docker run --network=mynetwork -d cotest1
docker run --network=mynetwork -d cotest2
this is what i did, but it seems cotest2 doesn't discovery cotest1
crapthings commented
i can't make weaveworks work
but
docker swarm int
"docker service create --network host" works
dashersw commented
Weave enables multicast communication, however cote by default uses broadcast communication. You can try something like the following:
COTE_MULTICAST_ADDRESS=239.1.11.111 node service.js