The following is an HAProxy docker container example.
I have configured it as a simple load balancer with 3 web servers that I have running locally.
To build , simply:
- git clone https://github.com/bartockbat/HAProxyRHEL.git
- sudo docker build -t (container_name) .
- sudo docker run -it (container_name) bash