`short_id` and `id` for local image (`DockerClient.images.get()`) are not the image SHA
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with DockerClient.images.get() and compare its local-image id and short_id behavior with the image data returned by docker inspect. Trace how registry image digests are exposed, then define and test an option that returns the local image's registry digest when available.
Written by the indexing model from the issue text.
Description
Hi,
I've noticed that documentation is slightly off when it comes to id/short_id for the images. id/short_id for registry images are the same as the digests for that images. For local ones however, it can differ. For local images, id/short_id returns ID of the JSON file returned in docker inspect command. It would be good to have an option to get digest of the local image which points out to proper image from the registry.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-py
-
Add `pull` to the list of kwargs to pass to create and runPossibly taken @zainnadeem786 claimed this 126 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docker/docker-py#3369 · 2 comments ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
docker/docker-py#2457 · 4 reactions ·
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-py#3392 · 3 comments ·
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 4 days
All issues in docker/docker-py
Similar issues
-
[Bug]: Non-vision image fallback calls vision_analyze with an empty source for oversized inline images and tells the model the image is corruptPossibly taken @liuhao1024 claimed this today. Opencomp/agent P2 tool/vision type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#132605 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pymc-labs/pymc-marketing#3102 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vllm-project/compressed-tensors#920 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
accepted bug wg/router-models-inference-runtime
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vllm-project/semantic-router#4524 · 1 comment ·
Maintainers usually reply within 1 day