Swarm, yesterday
For the very first example, we'll run the easiest possible configuration of a Swarm v1 cluster locally to get a taste of how "old" Swarms worked (and still works). This tiny cluster will have the following features:
- Made of four nodes of 1CPU, 1GB of memory each, it will consist of an infrastructure of four CPUs and 4GB of memory available in total
- Each node will run on VirtualBox
- Each node is connected to each other on the local VirtualBox network
- No discovery service is involved: a static
nodes://
mechanism will be used - No security is configured, in other words TLS is disabled
Our cluster will look similar to the following diagram. Four Engines will be connected to each other through port 3376
in a mesh. Beyond the Docker engine, ...
Get Native Docker Clustering with Swarm now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.