Project

Profile

Help

Issue #4374

closed

Unable to sync docker hub images from index.docker.io

Added by paji@redhat.com over 5 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ pulp docker repo create  --repo-id=empowerment --feed=http://index.docker.io --upstream-name=alpine
Repository [empowerment] successfully created

$ pulp docker repo sync  run --repo-id=empowerment
+----------------------------------------------------------------------+
                 Synchronizing Repository [empowerment]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Task Failed

Could not fetch repository alpine from registry http://index.docker.io -
Unauthorized or Not Found

Pulp has logic to say if its just the container name add "library" to it https://github.com/pulp/pulp_docker/blob/2-master/plugins/pulp_docker/plugins/registry.py#L301-L305 , unfortunately it only allows registry-*.docker.io . We need it to include index.docker.io also.

Also available in: Atom PDF