[How to] Setup your private docker registry on armv7


Hi all,

If you need to set up your private docker registry on your server, you can’t use official Docker registry because it is x86 compiled. To make this available on ARM server, I have complied the official registry and posted it on Docker hub : https://hub.docker.com/r/vdavy/registry-arm/ - source of this build are available here : https://github.com/vdavy/distribution-library-image

To setup your registry, follow instructions here :

Here is a docker-compose.yml to automatically setup regsitry :

  restart: always
  image: vdavy/registry-arm 
    - 5000:5000
     REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt                                                                                     
     REGISTRY_HTTP_TLS_KEY: /certs/domain.key                                                                                             
     REGISTRY_AUTH: htpasswd                                                                                                              
     REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd                                                                                          
     REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm                                                                                         
  - /root/registry/auth:/auth                                                                                                          
  - /root/registry/certs:/certs

Please feel free to give me feedback about this tutorial and fork/pull request the Github repo if needed.

Enjoy :smiley: (and apologies for my frenglish :blush: )

EDIT : as requested, the registry built is version 2.2.0 from here https://github.com/docker/distribution/releases/tag/v2.2.0


That’s great Sir !! Thank you very much :slight_smile:


Is this v1 or v2? There is an official 2.0 registry build made by scaleway which we use.
EDIT: seems to be 2.2, didn’t see the source. Maybe adding the version number would be nice :wink:


Yes, you’re right : the registry version I built is last one which is 2.2.0
As you suggested, I edited the topic to specify the registry version.

One more question : where did you see a registry build by scaleway team ? I searched it here https://hub.docker.com/u/scaleway/ but I didn’t find anything about it. Giving me the link would be really apreciated :smiley:


It is under armbuild. There is a difference between scaleway and armbuild on docker, one hosts the images to build the C1s the other the images to run on Docker.