# docker-easy-lb **Repository Path**: mirrors_fgrehm/docker-easy-lb ## Basic Information - **Project Name**: docker-easy-lb - **Description**: Experimental automagic load balancing for Docker web apps in less than 100 lines of bash. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Docker Easy Load Balancer Experimental _automagic_ load balancing for Docker web apps in less than 100 lines of bash.  ## Initial setup On Ubuntu 14.04 hosts, you'll need to install [libnss-resolver](https://github.com/azukiapp/libnss-resolver#installing) and run: ```sh apt-get install dnsmasq echo "nameserver 127.0.0.1:5353" | sudo tee -a /etc/resolver/docker.dev ``` _I suppose you are able to do something similiar when using Macs + [Vagrant](http://www.vagrantup.com/) / [boot2docker](http://boot2docker.io/) but I don't own a Mac to put the pieces together, LMK if you know how to make this work over there and I'll update the docs accordingly_ ## Try it Launch the load balancer and DNS server: ```sh git clone https://github.com/fgrehm/docker-easy-lb.git cd docker-easy-lb ./launch-host ``` And verify if things are working: ``` # Is DNS working? $ ping hello.docker.dev PING hello.docker.dev (172.17.0.175) 56(84) bytes of data. 64 bytes from 172.17.0.175: icmp_seq=1 ttl=64 time=0.035 ms 64 bytes from 172.17.0.175: icmp_seq=2 ttl=64 time=0.072 ms 64 bytes from 172.17.0.175: icmp_seq=3 ttl=64 time=0.150 ms ^C # Can we reach the load balancer? $ curl hello.docker.dev