B.1 Set Up Docker Swarm

  1. Download and install Docker Desktop. See https://docs.docker.com/get-started/.
  2. Run the following command in a shell prompt to ensure that the Docker engine is running in Swarm mode.
    docker system info

    In the response, scroll and search for the following message:

    Swarm: active
    If Swarm is not enabled, run the following command in a shell prompt to enable it.
    docker swarm init
  3. Install a current version of Docker Compose. See https://docs.docker.com/compose/install/.