The Integration of Docker Cluster Management Three Swordsmen

  docker, question

The functions of the three musketeers in Docker cluster management and the functions completed by mutual integration are a little vague. Please help explain:
1. functions completed by the integration of Docker machine and Docker swarm: creating swarm cluster.
2. Functions that Docker compose and Docker swarm can integrate: What does the document say like the screenshot below?

Please see the specific building process of swarm, but I did not use docker-machine.,Another blog article was written with docker-machine
Swarm virtualizes multiple machines into one, and all operations on the docker cluster are like using a local one.

If you set the ip of DOCKER_HOST as swarm Cluster, you can use docker-compose