profile
viewpoint

Ask questionsImage id shown as missing with docker history

The layers generated by buildkit don't play nice with the docker history command and show <missing> instead of the layer id for IMAGE

moby/buildkit

Answer questions daveisfera

It creates layers that are used for the cache and I'm expecting to be able to see those so I can verify which layers are being used for caching and that they're shared across different images correctly. Is there a way to look at that info with buildkit other than docker history?

useful!

Related questions

Cannot build from local image with buildctl (OCI Worker) hot 86
php build fails when cache is enabled hot 31
RUN --mount=type=cache causes the whole build context to be loaded in hot 30
Cannot build from local image with buildctl (OCI Worker) hot 27
ssh agent only forwarded from keys on Windows hot 22
rootless image didn't work on OKD (OpenShift) 3.11 hot 15
Cannot build from local image with buildctl (OCI Worker) hot 13
Documentation claims that --mount works with 18.06 hot 13
Documentation claims that --mount works with 18.06 hot 12
Documentation claims that --mount works with 18.06 hot 11
Attempt to mount an overlay layer that is already in-use hot 11
rootless image didn't work on OKD (OpenShift) 3.11 hot 11
Github User Rank List