Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create docker-machine remote connection
- docker-machine create --driver generic \
- --generic-ip-address=136.144.31.9 \
- --generic-ssh-key ~/.ssh/id_rsa \
- --engine-storage-driver overlay env-2294395
- Connect to the environment
- eval $(docker-machine env env-2294395)
- Add a Manager node to the cluster
- docker swarm join \
- --token SWMTKN-1-021cddetlk3qpnp23khb9aj9ccuf67h632wcn7mzmhqunl6ndk-ba56e63sqy0af1ovdcnikfc6j \
- 136.144.31.9:2377
- Add a Woker node to the cluster
- docker swarm join \
- --token SWMTKN-1-021cddetlk3qpnp23khb9aj9ccuf67h632wcn7mzmhqunl6ndk-4g4lf8alw6a576y52hlebyby6 \
- 136.144.31.9:2377
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement