Docker registry build for Raspberry PI 2 and 3 (maybe for others ARM devices)
This package is based on official docker registry
This package was developed for running docker registry on Raspberry PI 2/3. On docker hub we can found a few arm/rpi build of docker registry but a many of this packages not work or is too outdated. This is reason why this package was created.
This package complie oficial docker/distribution pacakge on Raspberry PI with scaleway/golang:armhf-latest docker image and build registry on resin/rpi-raspbian:jessie image.
Steps:
- Package clone docker/distribution pacakge from github
- Replace original Dockerfile by this Dockerfile.distribution (Dockerfiles should be same, only FROM directive is different)
- Build docker/distribution registry with
make
- Build a new docker registry by steps from official repository
- Done!
You can use my official build of this package with name budry/registry-arm
$ docker run -d -p 5000:5000 --restart always budry/registry-arm
I trying update build of this package as soon as possible for each docker registry update, but when you need more actual version I recommend you custom build
Or you can use custom build on your ARM (Raspberry PI) device.
IMPORTANT NOTE: Build must be only on ARM device. On x86/x64 CPU not work!
$ git clone git@github.com:Budry/docker-registry-arm.git
$ cd docker-registry-arm
$ sh build.sh -t my/registry
$ docker run -d -p 5000:5000 --restart always my/registry
This will use the reigstry version specified in the TAG
file.
or
$ git clone git@github.com:Budry/docker-registry-arm.git
$ cd docker-registry-arm
$ sh build.sh -t my/registry master
$ docker run -d -p 5000:5000 --restart always my/registry
In this case you can specific docker version by last argument for build.sh
. If you use master
your registry will
be actual
This package and docker image if tested od Raspberry PI 2 and Raspberry PI 3