[Containers] integration with existing registry and ldap authentication

Aleksa Sarai asarai at suse.de
Wed Jan 20 18:00:08 MST 2016


On 01/21/2016 11:53 AM, Benjamin Fernandis wrote:
> Hi Miquel,
>
> I deployed rpm version on opensuse and it is working fine.
>
> Can you please guide me what is require to enable login in docker
> command line.
>
> currently i tested portus integration with docker registry and ldap
> authentication to pourtus from web interface.
>
> trying to do command line docker login and getting below error.
>
> Error response from daemon: no successful auth challenge for
> http://192.168.1.20:5000/v2/ - errors: []

Are you running Portus using docker-compose? If so, you need 
docker-compose version 1.5.2 or later.

Otherwise, please make sure that your *daemon* can access the IP address 
of the docker registry given in in /etc/registry/config.yml
in the "realm" field:

auth:
   token:
     realm: http://172.17.0.1:3000/v2/token
     service: 172.17.0.1:5000

And that the "service" is the same as the one you registered when you 
first started Portus (this is more likely to be the cause).

-- 
Aleksa Sarai
Docker Core Specialist
SUSE Australia
https://www.cyphar.com/


More information about the Containers mailing list