haproxy-debian
HAProxy CE Docker Debian image
10M+
Dockerfile links3.4-dev2, s6-3.4-dev2, 3.4, s6-3.43.3.1, s6-3.3.1, 3.3, s6-3.3, latest3.2.10, s6-3.2.10, 3.2, s6-3.23.1.12, s6-3.1.12, 3.1, s6-3.13.0.14, s6-3.0.14, 3.0, s6-3.02.8.18, s6-2.8.18, 2.8, s6-2.82.6.23, s6-2.6.23, 2.6, s6-2.62.4.30, s6-2.4.30, 2.4, s6-2.4Where to get help:
HAProxy mailing list, HAProxy Community Slack or #haproxy on Libera.chat
Where to file issues:
https://github.com/haproxytech/haproxy-docker-debian/issues
Maintained by:
HAProxy Technologies
Supported architectures: (more info)
linux/amd64, linux/arm64, linux/arm/v7
Image updates:
commits to haproxytech/haproxy-docker-debian, top level haproxytech/haproxy-docker-debian image folder
Source of this description:
README.md
HAProxy is the fastest and most widely used open-source load balancer and application delivery controller. Written in C, it has a reputation for efficient use of both processor and memory. It can proxy at either layer 4 (TCP) or layer 7 (HTTP) and has additional features for inspecting, routing and modifying HTTP messages.
It comes bundled with a web UI, called the HAProxy Stats page, that you can use to monitor error rates, the volume of traffic and latency. Features can be toggled on by updating a single configuration file, which provides a syntax for defining routing rules, rate limiting, access controls, and more.
Other features include:

This image is being shipped with a trivial sample configuration and for any real life use it should be configured according to the extensive documentation and examples. We will now show how to override shipped haproxy.cfg with one of your own.
DockerfileFROM haproxytech/haproxy-debian:3.0
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
$ docker build -t my-haproxy .
$ docker run -it --rm my-haproxy haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg
$ docker run -d --name my-running-haproxy my-haproxy
You will also need to publish the ports your HAProxy is listening on to the host by specifying the -p option, for example -p 8080:80 to publish port 8080 from the container host to port 80 in the container.
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-debian:3.0
Note that your host's /path/to/etc/haproxy folder should be populated with a file named haproxy.cfg as well as any other accompanying files local to /etc/haproxy.
To be able to reload HAProxy configuration, you can send SIGUSR2 to the container:
$ docker kill -s USR2 my-running-haproxy
To use Data Plane API it is easiest to use s6-tagged images which all have Data Plane API running by default.
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Content type
Image
Digest
sha256:9c1b89502…
Size
84.7 MB
Last updated
7 days ago
Requires Docker Desktop 4.37.1 or later.
Pulls:
3,367
Jun 23 to Jun 29