Bug #8873
closedneed to handle non standalone registry auth for a docker pull call
Description
PR https://github.com/theforeman/foreman-docker/pull/65 addresses the docker pull call for the standalone registries.
But we need to address cases involving non standalone registries, where we need to query the index for the location of the image, we also must use the authentication token that the index passes to us together with the response.
look at
https://docs.docker.com/reference/api/hub_registry_spec/#pull
for more info
Updated by Dominic Cleal over 10 years ago
- Project changed from Foreman to Docker
- Category deleted (
Authentication)
Updated by Anonymous over 10 years ago
- Status changed from New to Feedback
After looking at docker's remote api create image (docs + implementation), it became clear that docker service handles all interactions required for pulling of an image, including contacting the correct registry and handling of authentication tokens and endpoints.
I don't think we need to add support for token-based auth at this point.