docker-library / haproxy

Docker Official Image packaging for HAProxy
http://www.haproxy.org/
GNU General Public License v2.0
351 stars 161 forks source link

How to obtain the ARM version of haproxy? #187

Closed fantastic2085 closed 2 years ago

fantastic2085 commented 2 years ago

1. https://hub.docker.com/_/haproxy?tab=tags Does the image obtained from this link support ARM? 2.https://hub.docker.com/_/haproxy?tab=tags Will the docker image downloaded by this link automatically adapt?

yosifkit commented 2 years ago

Yes, it supports arm64v8, arm32v5 and arm32v7 as seen in the manifest for latest. The Alpine-based versions have a slightly different set of supported architectures.

image

Docker should pull the "best" host CPU matching architecture on docker pull (this can be semi-controlled with the --platform flag). If you need to exactly pull a specific architecture, they are also pushed to architecture specific namespaces on Docker Hub, like https://hub.docker.com/r/arm64v8/haproxy/. Once you pull an image, it is only for a specific architecture; you need to docker pull again to get a different architecture.