Skip to content

Running with swarm

Tommie McAfee edited this page Mar 20, 2017 · 5 revisions

Quick Start

Configure a local swarm

# init
docker swarm init

# get node ID
docker node ls -q
> 06sdvc8sv9aq37ac8zag0lu6s

# add node to the 'client' zone 
docker node update  --label-add "zone=client"  <node_id>

Run simple test

# the client will detect that local host is swarm
# and start containers as swarm service
./sequoia 

Run simple test against couchbase vms

# clients started in the swarm will target
# the addresses in providers/file/default.yml
./sequoia -provider file:default.yml

Swarm Clustering

...

Clone this wiki locally