Public Repository

Last pushed: 2 years ago
Short Description
Haproxy Dockerfile
Full Description

Haproxy Dockerfile

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 hypriot/rpi-haproxy 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.

Docker Pull Command