Hi everyone,
I read a tutorial about how to manage container across multi-host.
They said: Take note that Docker Engine Swarm mode and Docker Swarm are two different projects, with different installation steps despite they both work in a similar way.
That made me a little confused about the difference between them. Anyone please shed the light on this for me?
Docker Swarm is a legacy solution that requires external KV system (e.g. consul) and Swarm containers running on every node. It was the only way to do multi host swarm before docker 1.12.
In 1.12 docker integrated both KV store and swarm functionality inside the engine itself. You can still run Docker Swarm on 1.12 if you wish, but it’s mostly for backwards compatibility so already deployed clusters keep working.
If you’re setting up brand new one you should probably start with docker engine in swarm mode and skip the legacy solution.