Feature #20773
closedSupport for Private Repos at Docker Hub
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1475121
Description of problem:
Satellite 6 is not able to sync private registry hosted on Docker Hub.
Version-Release number of selected component (if applicable):
How reproducible:
Allways
Steps to Reproduce:
1. Create a registry on https://hub.docker.com
2. Push an image in the registry and make the registry private
3. Create the Docker type repository in the Satellite pointing to the private registry
4. Try to sync the repository
Actual results:
Sync fails with following error:
Could not fetch repository username/registry from registry https://registry.hub.docker.com - Unauthorized or Not Found
Expected results:
- Unauthorized access is documented.
- Registry is synced.
Additional info:
- Registry entry in Containers > Registries is created and credentials are correct.
- If the registry is not set as Private, sync is working without any issues
- Pulling from the private registry works