Latest Alpine-based official HAProxy image with logging to stdout
100K+
This image uses the latest Alpine-based HAProxy, adds tini, starts syslogd and provides stdout logging.
To use stdout logging with your Docker container, please use this snippet in your HAProxy config:
defaults
log global
log /dev/log local0
Please visit official HAProxy repository for information on how to use this image. It is pretty the same.
docker run -d --rm --name haproxy-docker-logging --rm \
-p <host port>:<container port> \
-v /path/to/haproxy/config:/usr/local/etc/haproxy:ro \
--name haproxy \
mminks/haproxy-docker-logging
Reload your HAProxy in case of config changes without restarting the complete container. Send a SIGHUP signal to the container an the HAProxy process will reload gracefully.
docker kill -s SIGHUP haproxy
Content type
Image
Digest
Size
7.9 MB
Last updated
over 7 years ago
docker pull romracer/haproxy-docker-logging:1.8-alpine