Sign inSign up

budry/registry-arm

By budry

•Updated almost 9 years ago

Docker registry build for Raspberry PI 2 and 3 (maybe for others ARM devices)

Image
17

500K+

budry/registry-arm repository overview

⁠Docker registry ARM

Docker registry build for Raspberry PI 2 and 3 (maybe for others ARM devices)

This package is based on official docker registry⁠

⁠Content

⁠The main idea

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.

⁠How it works

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:

  1. Package clone docker/distribution pacakge⁠ from github
  2. Replace original Dockerfile⁠ by this Dockerfile.distribution⁠ (Dockerfiles should be same, only FROM directive is different)
  3. Build docker/distribution registry⁠ with make
  4. Build a new docker registry by steps from official repository⁠
  5. Done!

⁠How to use

⁠Docker

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⁠

⁠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 [email protected]:Budry/docker-registry-arm.git
$ cd docker-registry-arm
$ sh build.sh my/registry
$ docker run -d -p 5000:5000 --restart always my/registry

or

$ git clone [email protected]:Budry/docker-registry-arm.git
$ cd docker-registry-arm
$ sh update.sh master
$ docker build -t my/registry .
$ docker run -d -p 5000:5000 --restart always my/registry

In this case you can specific docker version by first argument for update.sh. If you use master your registry will be actual

⁠Compatibility

This package and docker image if tested od Raspberry PI 2 and Raspberry PI 3

Tag summary

Content type

Image

Digest

Size

58.8 MB

Last updated

almost 9 years ago

docker pull budry/registry-arm