1.6.9, 1.6, latest (Dockerfile)HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones.
Since each HAProxy usage its different and will require an appropriate configuration file, this image comes with no default one. There are several approaches to use your own configuration file with this image.
DockerfileFROM jfusterm/haproxy:1.6.5
COPY haproxy.cfg /haproxy/etc
$ docker build -t my-haproxy:1.6.5 .
$ docker run -d --name my-haproxy -p 80:80 my-haproxy:1.6.5
haproxy.cfg to the container$ docker create --name haproxy -p 80:80 jfusterm/haproxy:1.6.5
$ docker cp haproxy.cfg haproxy:/haproxy/etc
$ docker start haproxy
$ docker run --name haproxy -p 80:80 -v /dir/haproxy.cfg:/haproxy/etc/haproxy.cfg jfusterm/haproxy:1.6.5
Content type
Unrecognized
Digest
Size
5.3 MB
Last updated
about 10 years ago
docker pull jfusterm/haproxy