Docker Swarm Deployments

Is anyone doing Docker Swarm deployments? Whats your strategy?

I was considering doing something with DIND and remote docker.

DOCKER_HOST= docker stack deploy -c stack.yml example-app
1 Like

Yes i am deploying to a docker swarm.

I am using the SSH plugin, connect to the host and then run a the docker stack deploy command. This way no DIND is needed or anything fancy.Before using the SSH plugin I upload the latest docker-compose file using scp.