[Containers] integration with existing registry and ldap authentication

Flavio Castelli fcastelli at suse.com
Fri Jan 22 01:35:11 MST 2016


On 01/21/2016 03:12 AM, Benjamin Fernandis wrote:
> i pass below variable to docker registry container ,
>
> docker run \
> -d --restart=always --name registry \
> -e REGISTRY_LOG_LEVEL=debug \
> -p 5000:5000 \
> -e SEARCH_BACKEND=sqlalchemy \
> -e REGISTRY_AUTH_TOKEN_REALM="http://192.168.1.20:3000/v2/token" \
> -e REGISTRY_AUTH_TOKEN_SERVICE="192.168.1.20:5000" \
> -v /home/test/data:/var/lib/registry \
> registry:2.1

You are not specifying REGISTRY_AUTH_TOKEN_ISSUER which is mandatory [1].

Cheers
Flavio

https://github.com/docker/distribution/blob/master/docs/configuration.md#token


More information about the Containers mailing list