<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Thanks for the reply. I file a story: <a href="https://pulp.plan.io/issues/5545">https://pulp.plan.io/issues/5545</a>​. <br>
</p>
<p><br>
</p>
<p>Hopefully it's clear enough.<br>
</p>
<p><br>
</p>
<p>Cheers,<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font style=""><font style="">Joey Dumont</font></font>
<div style=""><br>
</div>
<div style="">Technical Advisor, Knowledge, Information, and Technology Services</div>
<div style="">National Research Council Canada / Governement of Canada</div>
<div style=""><a tabindex="0" href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="NoLP">joey.dumont@nrc-cnrc.gc.ca</a> / Tel: 613-990-8152 / Cell: 438-340-7436</div>
<div style=""><br>
</div>
<div style="">Conseiller technique, Services du savoir, de l'information et de la technologie</div>
<div style="">Conseil national de recherches Canada / Gouvernement du Canada</div>
<div style=""><a tabindex="0" href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="NoLP">joey.dumont@nrc-cnrc.gc.ca</a> / Tél.: 613-990-8152 / Tél. cell.: 438-340-7436</div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dennis Kliban <dkliban@redhat.com><br>
<b>Sent:</b> 04 October 2019 09:34<br>
<b>To:</b> Dumont, Joey<br>
<b>Cc:</b> pulp-list@redhat.com<br>
<b>Subject:</b> Re: [Pulp-list] pulp_docker: whitelist upstreams</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Oct 4, 2019 at 9:23 AM Dennis Kliban <<a href="mailto:dkliban@redhat.com">dkliban@redhat.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 3, 2019 at 11:38 AM Dumont, Joey <<a href="mailto:Joey.Dumont@nrc-cnrc.gc.ca" target="_blank">Joey.Dumont@nrc-cnrc.gc.ca</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>Before testing pulp, I would like to know if there is a supported way of doing this: I want to basically mirror only selected Docker images (upstreams in pulp?) such that users can do docker pull my-pulp-server:port/alpine, but not say, docker pull my-pulp-server:port/coin-mining-image.<br>
</p>
<p><br>
</p>
<p>I looked at the workflows in the pulp_docker documentation (<a href="https://pulp-docker.readthedocs.io/en/latest/workflows/host.html" target="_blank">https://pulp-docker.readthedocs.io/en/latest/workflows/host.html</a>), but this seems to associate a single
 repo in the distribution. Would it be possible to have multiple remotes served by the same distribution such that docker pull works for all of them?<br>
</p>
<p><br>
</p>
</div>
</blockquote>
<div>It is not possible to have one distribution serve multiple repository versions. You have to create a Repository Version and a Docker Distribution for each repository. The Docker Distribution reserves the URL space in the /v2/ namespace of the Docker Registry
 API.<br>
</div>
<div><br>
</div>
<div>The feature you are describing sounds like a pull-through cache. We have such a feature in the Maven plugin. The user of the Maven plugin creates a Maven Remote and a Maven Distribution. Then when clients request content from the distribution, Pulp streams
 it to the client from the Remote and then saves it in Pulp for next time. It sounds like you would want to be able to specify a whitelist of repositories that should be accessible to clients. Does this sound right?
<br>
</div>
<div><br>
</div>
<div>Please file a story[0] for this feature request. Due to the mutable nature of tags, this would be not as straight forward of an implementation as Maven, but it sounds like a useful feature.
<br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It does not have to be a pull-through cache if there is a whitelist of repositories. The list of the repositories could be used to sync all those repositories into a single Repository Version in Pulp. Then a single Docker Distribution could server that
 Repository Version. This would also make for a good feature. <br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div class="gmail_quote">
<div></div>
<div><br>
</div>
<div>[0] <a href="https://pulp.plan.io/projects/pulp_docker/issues/new" target="_blank">
https://pulp.plan.io/projects/pulp_docker/issues/new</a> <br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>I'm new to Pulp, and it's been a little hard wrapping my head around the docs. Thanks for any help!<br>
</p>
<p><br>
</p>
<div id="gmail-m_4593601057152397020m_2951811154410348346gmail-m_5976113968114097028Signature">
<div name="divtagdefaultwrapper"><font><font>Joey Dumont</font></font>
<div><br>
</div>
<div>Technical Advisor, Knowledge, Information, and Technology Services</div>
<div>National Research Council Canada / Governement of Canada</div>
<div><a href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="gmail-m_4593601057152397020m_2951811154410348346gmail-m_5976113968114097028NoLP" target="_blank">joey.dumont@nrc-cnrc.gc.ca</a> / Tel: 613-990-8152 / Cell: 438-340-7436</div>
<div><br>
</div>
<div>Conseiller technique, Services du savoir, de l'information et de la technologie</div>
<div>Conseil national de recherches Canada / Gouvernement du Canada</div>
<div><a href="mailto:joey.dumont@nrc-cnrc.gc.ca" id="gmail-m_4593601057152397020m_2951811154410348346gmail-m_5976113968114097028NoLP" target="_blank">joey.dumont@nrc-cnrc.gc.ca</a> / Tél.: 613-990-8152 / Tél. cell.: 438-340-7436</div>
</div>
</div>
</div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>