drakkar-lig / drakkar-lig/walt-python-packages

Detection of images with multiple names through their Digest

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

One can check if two image names target the same image by checking their "Digest".

  • in walt local repo, by using podman inspect <fullname> and checking the "Digest" field
  • in docker local repo, by using skopeo inspect docker-daemon:<fullname> and checking the "Digest" field
  • on the docker hub, by using skopeo inspect docker://<fullname> and checking the "Digest" field

This could be used to:

  • improve performance of walt image clone (for instance, even if the user specified a hub image, we may target a local name in walt repo instead; interaction with the docker hub may also often be more efficient than with local docker daemon...)
  • improve user friendliness of walt image search by letting the user know that a remote image is the same as one of his images (maybe indicate "same as: " in the cloneable link column)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names walt image clone and walt image search as the entry points; start by examining how they identify local, Docker daemon, and Docker Hub images. Compare the Digest values from podman inspect and skopeo inspect. Done means the desired clone performance and same-image indication in search are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.