docker-machine docker-swarm

#mac os install
brew install docker-machine

docker-machine ls

docker-machine create --driver digitalocean --digitalocean-access-token 5a07a17... docker-app-machine

eval $(docker-machine env docker-app-machine)

#connect by ssh to host
docker-machine ssh swarm-node

docker swarm init
docker swarm join
docker swarm leave

Revision #4
Created 1 February 2020 23:23:14 by Juan Navas
Updated 1 February 2020 23:57:59 by Juan Navas