Search code examples
dockerdocker-machinedocker-swarm

How to manage many hosts with shipyard


I am trying to use shipyard and mostly I am trying to manage many different hosts in one UI. But I can't find a way to make shipyard use existing swarm token. Is there any way to add hosts to shipyard or it is for one host only ?

thanks.


Solution

  • Solved.

    I solved it by editing the shipyard deployment script. Also I added parameter, to easily specify swarm token. The shipyard-proxy is no more used.

    I also recommend to be attentive when specifying port for docker daemon, because one of the shipyard containers can try to use the standard 2375 port.

    I made gist with my code on GitHub. Link to gist.

    My answer based on discussion from GitHub.