Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying remote image manifest similarly to inspecting local images #3996

Closed
michalpokusa opened this issue Jul 6, 2023 · 4 comments · Fixed by #4134
Closed

Displaying remote image manifest similarly to inspecting local images #3996

michalpokusa opened this issue Jul 6, 2023 · 4 comments · Fixed by #4134

Comments

@michalpokusa
Copy link

Issue Type: Feature Request

Issue is about adding an additional option to RMB context menu when clicking a specific tag of image on remote repository.

For example, under "Copy Image Digest" might be option called "Manifest", there could also be command for that - "Docker Registries: Manifest".

image
(Current context menu)

The idea is, that for now it is impossible to inspect a image without pulling it first. This command would allow getting more information about remote images without doing that.

After running the command the manifest would open similarly as the result of running "Inspect" on local image:

image
(Visualisation how this could look like)

When it comes to implementing it, self-hosted repositories allow it simply by doing a specific GET request to API v2, i do not know how it works in Azure, GitLab and Docker HUb, but I believe they also allow is one way or another.

@bwateratmsft
Copy link
Collaborator

IIRC we are actually doing the manifest fetch in the background for something--can't recall exactly what--but it shouldn't be too hard to add a command to do the same.

@dbreshears dbreshears added this to the 1.27.0 milestone Jul 12, 2023
@dbreshears dbreshears modified the milestones: 1.27.0, 1.28.0 Aug 23, 2023
@bwateratmsft bwateratmsft self-assigned this Oct 10, 2023
@bwateratmsft
Copy link
Collaborator

The manifest information is different from image inspect but IMO still interesting.

@michalpokusa
Copy link
Author

The manifest information is different from image inspect but IMO still interesting.

Yes, of course. Nevertheless the manifest itselt can be usefull. I only compared it to Inspect in order to visualize the behaviour.

@bwateratmsft
Copy link
Collaborator

This has been released in Docker extension version 1.28.0.

@microsoft microsoft locked and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants