Budry / docker-registry-arm

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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

Compatibility

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

About

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

License:MIT License


Languages

Language:Shell 100.0%