Docker Community Forums

Share and learn in the Docker community.

Docker swarm with consul without docker-machine

swarm

(Vynu) #1

Hi there,

I want to initiate docker swarm with consul without using docker-machine , just like "swarm init --advertise-addr IP consul://IP:8500"
but docker swarm will not accept arguments like consul at the end…

i also want to add nodes along with consul like “docker swarm join toke:… --advertise-addr IP consul://IP:8500”

how to use consul with docker swarm commands …without docker-machine