I would like to create a file docker-composein my development environment and use it to deploy a single swarm machine. The goal would be to make the development environment as consistent as possible with the CI, QA, and Prod environments.
docker-compose
I used docker a year + ago, but a lot has changed, and I am very interested in using 1.12 as my platform. My questions are as follows:
Note. I know that with the help of VM it will be possible to emulate other machines - many of these examples start with this, but I want to not start any virtual machines in order to reduce the cost of resources for running this installation.
Are there any good examples of single node swarms to which people can refer me?
A node - , ( init join). ( 0 1), . , , .
, . , , , . , . docker service, docker swarm init , .
docker service
docker swarm init