<div dir="ltr">I deployed portus on oepnsuse. I can not find /etc/registry/cofig.yml file in portus machine. <div><br></div><div>do i require to add above lines in docker registry container or in portus vm?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 21, 2016 at 2:00 PM, Aleksa Sarai <span dir="ltr"><<a href="mailto:asarai@suse.de" target="_blank">asarai@suse.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/21/2016 11:53 AM, Benjamin Fernandis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Miquel,<br>
<br>
I deployed rpm version on opensuse and it is working fine.<br>
<br>
Can you please guide me what is require to enable login in docker<br>
command line.<br>
<br>
currently i tested portus integration with docker registry and ldap<br>
authentication to pourtus from web interface.<br>
<br>
trying to do command line docker login and getting below error.<br>
<br>
Error response from daemon: no successful auth challenge for<br>
<a href="http://192.168.1.20:5000/v2/" rel="noreferrer" target="_blank">http://192.168.1.20:5000/v2/</a> - errors: []<br>
</blockquote>
<br></span>
Are you running Portus using docker-compose? If so, you need docker-compose version 1.5.2 or later.<br>
<br>
Otherwise, please make sure that your *daemon* can access the IP address of the docker registry given in in /etc/registry/config.yml<br>
in the "realm" field:<br>
<br>
auth:<br>
  token:<br>
    realm: <a href="http://172.17.0.1:3000/v2/token" rel="noreferrer" target="_blank">http://172.17.0.1:3000/v2/token</a><br>
    service: <a href="http://172.17.0.1:5000" rel="noreferrer" target="_blank">172.17.0.1:5000</a><br>
<br>
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).<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Aleksa Sarai<br>
Docker Core Specialist<br>
SUSE Australia<br>
<a href="https://www.cyphar.com/" rel="noreferrer" target="_blank">https://www.cyphar.com/</a></font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Containers mailing list<br>
<a href="mailto:Containers@lists.suse.com" target="_blank">Containers@lists.suse.com</a><br>
<a href="http://lists.suse.com/mailman/listinfo/containers" rel="noreferrer" target="_blank">http://lists.suse.com/mailman/listinfo/containers</a><br>
</div></div></blockquote></div><br></div>