This will show how to manually deploy the containers in case you want to use an existing Swarm deployment, etc. This method assumes you have a fresh Docker Engine. This also assumes you are using a non-TLS setup.
Note: This assumes a similar setup to the automated install. You can replace components as needed.
To enable Swarm leader election, we must use an external key value store from the Swarm container. For this example, we will use etcd however, you can use any key/value backend supported by Swarm.
$> docker run \ -ti \ -d \ -p 4001:4001 \ -p 7001:7001 \ --restart=always \ --name shipyard-discovery \ microbox/etcd -name discovery
This will run a Swarm container configured to manage.
$> docker run \ -ti \ -d \ --restart=always \ --name shipyard-swarm-manager \ swarm:latest \ manage --host tcp://0.0.0.0:3375 etcd://<IP-OF-HOST>:4001