Website: Pulling images by digest not documented

Created on 6 Jul 2017  路  4Comments  路  Source: kubernetes/website

This is a... Bug Report

Problem:
https://kubernetes.io/docs/concepts/containers/images/ page does not show how users can specify Docker images with SHA256 digests, resulting in issues like https://github.com/kubernetes/kubernetes/issues/26651.

In fact we don't have any documentation about this feature on the k8s.io at all.

Proposed Solution:
Create a section documenting images can be specified via digest as well.

Page to Update:
https://kubernetes.io/docs/concepts/containers/images/

Most helpful comment

@Bradamant3 do you mind giving lik to the PR? I can't seem to find the change.

All 4 comments

Note that I added the request info not to the suggested topic, but to a topic that's linked from there: https://kubernetes.io/docs/concepts/configuration/overview/#container-images

Rationale: The Images topic content is mostly about pulling from a private registry. The topic I put the info in contains more relevant detail about image tags, not using :latest, etc. Can move added content if deemed better, though.

@Bradamant3 do you mind giving lik to the PR? I can't seem to find the change.

This shows up as the first result on Google. Is this documented? If so where?

I've tried:

    Image:          kennethreitz/httpbin:sha256:599fe5e5073102dbb0ee3dbb65f049dab44fa9fc251f6835c9990f8fb196a72b

Which fails with:

  Warning  InspectFailed  5s (x7 over 71s)  kubelet, minikube  Failed to apply default image tag "kennethreitz/httpbin:sha256:599fe5e5073102dbb0ee3dbb65f049dab44fa9fc251f6835c9990f8fb196a72b": couldn't parse image reference "kennethreitz/httpbin:sha256:599fe5e5073102dbb0ee3dbb65f049dab44fa9fc251f6835c9990f8fb196a72b": invalid reference format

@chrissound

Probably not documented, but the format is <name>@sha256:digest

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zacharysarah picture zacharysarah  路  4Comments

adityamandhare picture adityamandhare  路  3Comments

gochist picture gochist  路  3Comments

seokho-son picture seokho-son  路  3Comments

dheerujava picture dheerujava  路  4Comments