Skip to content
This repository has been archived by the owner. It is now read-only.
Haproxy Dockerfile for the Raspberry Pi
Branch: raspbian
Clone or download
Pull request Compare This branch is 4 commits ahead of dockerfile:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile simple port to Raspberry Pi Mar 8, 2015
LICENSE Init commit. May 10, 2014 make title consistent with other hypriot repositories Oct 19, 2015
haproxy.cfg Fixes dockerfile#6 Dec 16, 2014
start.bash Set haproxy as first process Dec 1, 2014


This repository contains a port of the Dockerfile of Haproxy for the Raspberry Pi.

Many kudos to the upstream repo

Base Docker Image

  • resin/rpi-raspbian:wheezy


  1. Install Docker by downloading the HypriotOS SD card image.

  2. Download automated build from public Docker Hub Registry: docker pull hypriot/rpi-haproxy

    (alternatively, you can build an image from Dockerfile: docker build -t="hypriot/rpi-haproxy"


docker run -d -p 80:80 hypriot/rpi-haproxy

Customizing Haproxy

docker run -d -p 80:80 -v <override-dir>:/haproxy-override hypriot/rpi-haproxy

where <override-dir> is an absolute path of a directory that could contain:

  • haproxy.cfg: custom config file (replace /dev/log with, and comment out daemon)
  • errors/: custom error responses

After few seconds, open http://<host> to see the haproxy stats page.

You can’t perform that action at this time.