curl -L https://github.com/mkuchin/docker-registry-web-examples/releases/download/0.1.0-rc1/examples.tar.gz | tar -xzv
cd examples/nginx-auth-enabled/
./generate-keys.sh
docker-compose up
Create test user:
Push some images
docker login localhost
docker pull hello-world
docker tag hello-world localhost/hello-world:latest
docker tag hyper/docker-registry-web:auth-experimental localhost/docker-registry-web:latest
docker push localhost/hello-world:latest
docker push localhost/docker-registry-web:latest
and then pull
docker rmi localhost/hello-world:latest
docker run localhost/hello-world:latest