Project

General

Profile

Feature #14175

Support Docker registry api v2 for external registries

Added by Andrey Aleksandrov over 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Plugin (foreman_docker)
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

I installed Foreman + docker plugin without Katello.
Also was installed private docker registry.
After that i added my registry as new external registry.
When i trying to search image i getting a strange error.
In registry host logs I found this
"GET /v1/search?q=ubuntu HTTP/1.1" 404 19 "" "Ruby"
As i understand this is a request to v1 api.
So required a possibility to choose api version when adding new registry.

Associated revisions

Revision f0062004 (diff)
Added by Sebastian Gräßl over 5 years ago

Fixes #14175 - Add support for Docker Registry v2

This adds more functionallity to RegistryApi and queries /v2/
endpoints in case requests to v1 of the registry API fail.

Revision f0062004 (diff)
Added by Sebastian Gräßl over 5 years ago

Fixes #14175 - Add support for Docker Registry v2

This adds more functionallity to RegistryApi and queries /v2/
endpoints in case requests to v1 of the registry API fail.

History

#1 Updated by Sebastian Gräßl over 5 years ago

  • Assignee set to Sebastian Gräßl

#2 Updated by Sebastian Gräßl over 5 years ago

  • Category set to Plugin (foreman_docker)

#3 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/184 added

#4 Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Marek Hulán almost 5 years ago

  • Bugzilla link set to 1455392

Also available in: Atom PDF