Create a Nodejs Application that responds GET requests with its Hostname. We will be using Docker Swarm to create a Stack of our Nodejs application, which will sit beind a HAProxy Load Balancer, we are mounting the docker.sock from…