A
A
Alexey Poimtsev2017-09-23 20:00:29
Software Deployment
Alexey Poimtsev, 2017-09-23 20:00:29

How to properly deploy docker (+swarm)?

Hello.
For a standard deployment of rails applications, the use of Capistrano is considered a classic. But now I decided to bring docker into projects and the question arose - how to properly deploy containers so that
1 - it was possible to do this from the local console without having to log in to all servers (everything is easier with a swarm cluster, but still), similar to how it is possible to do with Capistrano or Mina
2 - it was possible to roll back to the previous version
I suppose that for this purpose you will need to make your own ansible cookbook, but perhaps you have a better solution

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question