create vbox manager
docker-machine create --driver virtualbox manager1
create hyperv manager
docker-machine create --driver hyperv manager1
docker client info
docker-machine env manager1
declare Manager via ssh
docker swarm init --advertise-addr 192.168.99.100
get join token on manager via ssh
docker swarm join-token worker
#create service instance with replicas
docker service create --replicas 8 -p 80:80 --name web nginx
docker stack deploy -c docker-stack.yml elk
list swarm services
docker service ls
inspect specific service
docker service ps elk
scale swarm nodes
docker-compose scale node=5