[Containers] integration with existing registry and ldap authentication

Benjamin Fernandis benjo11111 at gmail.com
Wed Jan 20 18:04:05 MST 2016


I deployed portus on oepnsuse. I can not find /etc/registry/cofig.yml file
in portus machine.

do i require to add above lines in docker registry container or in portus
vm?


On Thu, Jan 21, 2016 at 2:00 PM, Aleksa Sarai <asarai at suse.de> wrote:

> 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/
>
> _______________________________________________
> Containers mailing list
> Containers at lists.suse.com
> http://lists.suse.com/mailman/listinfo/containers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/containers/attachments/20160121/0289df12/attachment.htm>


More information about the Containers mailing list