Docker: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-08-29T01:33:30ZForeman
Redmine Feature #20773 (Rejected): Support for Private Repos at Docker Hubhttps://projects.theforeman.org/issues/207732017-08-29T01:33:30ZSebastian Gräßl
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1475121">https://bugzilla.redhat.com/show_bug.cgi?id=1475121</a></p>
<p><strong>Description of problem:</strong><br />Satellite 6 is not able to sync private registry hosted on Docker Hub.</p>
<p><strong>Version-Release number of selected component (if applicable):</strong></p>
<p><strong>How reproducible:</strong><br />Allways</p>
<p><strong>Steps to Reproduce:</strong><br />1. Create a registry on <a class="external" href="https://hub.docker.com">https://hub.docker.com</a><br />2. Push an image in the registry and make the registry private<br />3. Create the Docker type repository in the Satellite pointing to the private registry<br />4. Try to sync the repository</p>
<p><strong>Actual results:</strong><br />Sync fails with following error:<br />Could not fetch repository username/registry from registry <a class="external" href="https://registry.hub.docker.com">https://registry.hub.docker.com</a> - Unauthorized or Not Found</p>
<p><strong>Expected results:</strong>
<ul>
<li>Unauthorized access is documented.</li>
<li>Registry is synced.</li>
</ul>
</p>
<p><strong>Additional info:</strong><br />- Registry entry in Containers > Registries is created and credentials are correct.<br />- If the registry is not set as Private, sync is working without any issues<br />- Pulling from the private registry works</p>