Docker Community Forums

Share and learn in the Docker community.

Docker duplicate image with same image id with tag <none>


(Mattvin) #1

Hi there

i am running docker on windows with quick start terminal and tried to pull the image ubuntu

$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu latest e4415b714b62 7 days ago 128.1 MB
ubuntu e4415b714b62 7 days ago 128.1 MB

i thought its a dangling image and tried to remove that but its not
they both have same image-id and same name.

how do i remove this. Any help is really appreciated

thanks


(Leo Chen) #2

you can use --digests option to remove none tag image

docker images --digests

feature_build_image1 latest sha256:7046dbbd4b521e181c78b064bc4152aac23ecb5851b1940ea0d4c8770c1730c9 5482649af0ae 6 months ago 295MB
feature_build_image2 <none> sha256:7046dbbd4b521e181c78b064bc4152aac23ecb5851b1940ea0d4c8770c1730c9 5482649af0ae 6 months ago 295MB

docker rmi feature_build_image2@sha256:7046dbbd4b521e181c78b064bc4152aac23ecb5851b1940ea0d4c8770c1730c9