Upgrade
Upgrade HAProxy Enterprise on Docker
You can upgrade HAProxy Enterprise to version 3.0r1 as a Docker container.
Upgrade to HAProxy Enterprise 3.0r1 Jump to heading
The following upgrade procedure installs a new major version of HAProxy Enterprise.
-
Log into the
hapee-registry.haproxy.com
Docker registry, using the key you were given when you registered as the username and password.nixsudo docker login https://hapee-registry.haproxy.comnixsudo docker login https://hapee-registry.haproxy.com -
Pull the HAProxy Enterprise image.
nixsudo docker pull hapee-registry.haproxy.com/haproxy-enterprise:3.0r1nixsudo docker pull hapee-registry.haproxy.com/haproxy-enterprise:3.0r1 -
Create an HAProxy Enterprise configuration file (i.e.
hapee-lb.cfg
) that defines your load balancer settings. -
Stop and remove any previously running HAProxy Enterprise containers:
nixsudo docker stop <OLD CONTAINER NAME>sudo docker rm <OLD CONTAINER NAME>nixsudo docker stop <OLD CONTAINER NAME>sudo docker rm <OLD CONTAINER NAME> -
Start the new Docker container, referencing the directory containing your configuration file as a volume by using the
-v
flag.nixsudo docker run \--name hapee-3.0 \-d \-p 80:80 \-p 443:443 \-p 5555:5555 \-v $(pwd):/etc/hapee-3.0 \--restart=unless-stopped \hapee-registry.haproxy.com/haproxy-enterprise:3.0r1nixsudo docker run \--name hapee-3.0 \-d \-p 80:80 \-p 443:443 \-p 5555:5555 \-v $(pwd):/etc/hapee-3.0 \--restart=unless-stopped \hapee-registry.haproxy.com/haproxy-enterprise:3.0r1
Do you have any suggestions on how we can improve the content of this page?