Actions
Issue #4374
closedUnable to sync docker hub images from index.docker.io
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.
Actions