Sign inSign up

robertmurry/rpi-registry

By robertmurry

•Updated almost 9 years ago

My copy of the latest docker local registry built for raspberry pi. Tested on a PI 3 model B.

Image
0

10K+

robertmurry/rpi-registry repository overview

I couldn't find an official raspberry pi version of docker's local registry so I made one myself.

Dockerfile:

FROM arm32v7/golang:stretch as builder WORKDIR /go/src RUN git clone https://github.com/docker/distribution.git⁠ WORKDIR /go/src/distribution RUN go-wrapper download RUN go-wrapper install RUN make binaries FROM arm32v7/debian:jessie WORKDIR ~/ COPY --from=builder /go/src/distribution/bin/registry . ADD registry-config.yml . VOLUME /var/lib/registry EXPOSE 5000 CMD ["./registry", "serve", "registry-config.yml"]

Super basic config file (registry-config.yml):

version: 0.1 storage: cache: blobdescriptor: inmemory filesystem: rootdirectory: /var/lib/registry delete: enabled: true http: addr: :5000

Tag summary

Content type

Image

Digest

Size

52.3 MB

Last updated

almost 9 years ago

docker pull robertmurry/rpi-registry