Need help with docker-loadbalancer?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

123 Stars 35 Forks 15 Commits 3 Opened issues

Services available


Need anything else?

Contributors list

Installing Prerequisites

brew update
brew install caskroom/cask/brew-cask
brew cask install boot2docker
brew install fig

Optionally, you can use

to automatically set some environment variables, sourced from
brew install direnv
direnv allow .

Readying Docker

boot2docker init
boot2docker upgrade
boot2docker up
docker version
docker ps

Boot The App

From the root of the repository:

fig pull && fig build
fig up -d


Consul Registered Services

curl http://`boot2docker ip 2>/dev/null`:8500/v1/catalog/services

Visit LB In Default Browser

open "http://`boot2docker ip 2>/dev/null`/"

Adding/Removing Backend Containers

fig scale app=4
fig scale app=1


  • The auto-detected advertise IP for Consul-in-Docker on Boot2docker does not appear to be routable from the Nginx container. Use the following to look up the IP to set for
boot2docker ssh ifconfig eth0 | grep 'inet addr'

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.