Sign inSign up

expert360/registry

By expert360

•Updated about 11 years ago

Image
0

1.6K

expert360/registry repository overview

⁠docker-registry-nginx

expert360/registry⁠ is a proxy designed to run a dual V1 and V2 Docker Registry.

⁠expert360/registry:latest

⁠Basic Auth

Basic auth is required for all end points.

You will need to create a new htpasswd file, but do not use bcrypt⁠:

htpasswd -bc registry.htpasswd USERNAME PASSWORD

And volume it like:

-v $(pwd)/registry.htpasswd:/etc/nginx/htpasswd/registry.htpasswd

A V1 and V2 container should be linked to this container with aliases registryv1 and registryv2 respectively.

⁠Running

Ensure you map your password file and publish port 5000 when running the container:

docker run -p 5000:5000 \
    -v $(pwd)/registry.htpasswd:/etc/nginx/htpasswd/registry.htpasswd \
    --link registryv1:registryv1 \
    --link registryv2:registryv2 \
    expert360/registry

Tag summary

Content type

Image

Digest

sha256:7816101a0…

Size

52.2 MB

Last updated

almost 11 years ago

docker pull expert360/registry