HAProxy Enterprise Documentation 1.6r2

Docker

You can upgrade HAProxy Enterprise to version 1.6r2 as a Docker container.

Upgrade to HAProxy Enterprise 1.6r2

The following upgrade procedure installs a new major version of HAProxy Enterprise.

  1. Log into the hapee-registry.haproxy.com Docker registry, using the key you were given when you registered as the username and password.

    $ sudo docker login https://hapee-registry.haproxy.com
  2. Pull the HAProxy Enterprise image.

    $ sudo docker pull hapee-registry.haproxy.com/haproxy-enterprise:1.6r2
  3. Create an HAProxy Enterprise configuration file (i.e. hapee-lb.cfg) that defines your load balancer settings.

  4. Stop and remove any previously running HAProxy Enterprise containers:

    $ sudo docker stop <OLD CONTAINER NAME>
    $ sudo docker rm <OLD CONTAINER NAME>
  5. Start the new Docker container, referencing the directory containing your configuration file as a volume by using the -v flag.

    $ sudo docker run \
        --name hapee-1.6 \
        -d \
        -p 80:80 \
        -p 443:443 \
        -p 5555:5555 \
        -v $(pwd):/etc/hapee-1.6  \
        --restart=unless-stopped \
        hapee-registry.haproxy.com/haproxy-enterprise:1.6r2

Next up

Community to Enterprise