Once deployed, the script will output the URL to connect along with credential information.
Note: this will expose the Docker Engine on port 2375. It is recommended to use TLS if this node will be accessible outside a secure network.
curl -sSL https://shipyard-project.com/deploy | bash -s
SHIPYARD_ARGS
These are additional controller arguments for the Shipyard controller. See the Controller Usage for details.
curl -sSL https://shipyard-project.com/deploy | SHIPYARD_ARGS="--ldap-server=ldap.example.com --ldap-autocreate-users" bash -s
Adding a Node
The Shipyard deploy script will automatically setup a key/value store. To add additional nodes to the Swarm cluster, you can use this script again by specifying node
for the ACTION
. For example, if the IP of your initial node is 10.0.0.10
you can add a node by running the following:
curl -sSL https://shipyard-project.com/deploy | ACTION=node DISCOVERY=etcd://10.0.1.10:4001 bash -s