You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the handling of images pulled by full name REPO:TAG@DIGEST is not obvious for users. These images do not have tags and are considered dangling.
I encountered this problem when searching for why the base images are being removed from the builder. As a result, the images were being removed along with the dangling images by cron job.
There are several questions:
Why do these images do not have tags?
Why are these images considered dangling?
How to clean dangling images properly without tagless images?
Steps to reproduce the issue:
Pull image by full name
$ docker pull alpine:3.14.0@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5
docker.io/library/alpine@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5: Pulling from library/alpine
136482bf81d1: Pull complete
Digest: sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5
Status: Downloaded newer image for alpine@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5
docker.io/library/alpine:3.14.0@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5
Check dangling images
$ docker images --filter=dangling=true
REPOSITORY TAG IMAGE ID CREATED SIZE
alpine <none> bc5f2d75723c 5 weeks ago 3.82MB
This discussion was converted from issue #42664 on June 09, 2023 18:51.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Currently, the handling of images pulled by full name REPO:TAG@DIGEST is not obvious for users. These images do not have tags and are considered dangling.
I encountered this problem when searching for why the base images are being removed from the builder. As a result, the images were being removed along with the dangling images by cron job.
There are several questions:
Steps to reproduce the issue:
Beta Was this translation helpful? Give feedback.
All reactions