Portal:Container/Image/haproxy

Jump to: navigation, search

openSUSE HAProxy Container Image

Description

This container image contains the latest haproxy daemon from openSUSE Tumbleweed.

Location

  • registry.opensuse.org/opensuse/haproxy

Configuration

A haproxy.cfg configuration file is needed, but the container also comes with the default openSUSE configuration file. It's bind mounted to '/etc/haproxy/haproxy.cfg.

Run

 # podman run -d --rm -v /etc/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro --net=host --name haproxy registry.opensuse.org/opensuse/haproxy

Reload Configuration

XXX

Systemd support

The package containers-systemd contains a service file and sysconfig file to configure and automatically start the haproxy container with systemd.

 # systemctl start container-haproxy