Ghcr.io docker HTTP API #26299
-
Hi, Does the GitHub container registry (ghcr.io) support the docker V2 HTTP API’s? Specifically, does it support listing repositories and tags (https://docs.docker.com/registry/spec/api/#listing-repositories)? |
Beta Was this translation helpful? Give feedback.
Replies: 18 comments
-
I guess the answer is “yes”. I’m assuming this from: I can list the tags of a ghcr.io repo with skopeo:
and when I run it with
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the confirmation. For context (and just in case it helps nudge it up the priority list), we make Octopus Deploy, and when integrating with container registries we use the HTTP catalog API to list the available repositories and tags in the UI. |
Beta Was this translation helpful? Give feedback.
-
Thanks for that context! It does help. Are there any other features / APIs that would be useful? |
Beta Was this translation helpful? Give feedback.
-
I know I am not the OP but here is what the DockerHub API provides now and it would be useful to have parity. |
Beta Was this translation helpful? Give feedback.
-
I guess it will be much more easy to publish graphql v4 api to list all repositories in registry related to user or organization than enabling |
Beta Was this translation helpful? Give feedback.
-
It would be really useful to modify README and package descriptions through API. Not every package could be linked to single GitHub repository, or the repository might have multiple packages. Also, if the implementation of repository listing shows last modified time or Manifest hash, that would be neat - based on the list I could see which packages have changed since querying API last time. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to list all ghcr containers in an organization? We would use the _catalog endpoint, but as mentioned above it is not implemented. GraphQL can be used to list images on the old Docker packages, but this does not include ghcr images as per this question. The Packages REST API can supposedly be used to interact with ghcr images, but only if you know the image name already! How can one programmatically list all ghcr image names in an org? |
Beta Was this translation helpful? Give feedback.
-
@clarkbw is there any update regarding the v2 support? Thanks |
Beta Was this translation helpful? Give feedback.
-
Have the same question, would love to know if/when this is planned. |
Beta Was this translation helpful? Give feedback.
-
@clarkbw FYI - this is blocking vscode issue #869
Support third-party registries
Specifically requested (but goal is generic support), in no particular order: …
Blocked on no/partial Registry V2 support:
Done:
Seems the ball has been dropped, is there an open issue for this backlog feature request? |
Beta Was this translation helpful? Give feedback.
-
A fix to his issue is would be +1 from me too |
Beta Was this translation helpful? Give feedback.
-
Are there any updates on this? I am currently working on a use case to download blobs from third party registries including ghcr.io |
Beta Was this translation helpful? Give feedback.
-
Updates on this? |
Beta Was this translation helpful? Give feedback.
-
I can't use ghcr.io on my Synology DSM Container Manager as a registry due to this missing feature. I had to run the containers manually through SSH. As a result I'm not getting notified about image updates. |
Beta Was this translation helpful? Give feedback.
-
Is anyone working on this backlog item? |
Beta Was this translation helpful? Give feedback.
-
Would love to see an update on this backlog item. |
Beta Was this translation helpful? Give feedback.
-
Any update on this feature? |
Beta Was this translation helpful? Give feedback.
/v2/_catalog
support is in our backlog! It hasn’t arrived yet but we know we need it.