Docker image ls missing TAGs

There is always a tag when you pull an image, but tags can disappear sometimes when another image needs the same version tag. For example when you run docker pull again and the same version tag points to a new image. I think, the repository name would disappear as well, but I admit I could tell you only after testing. Unfortunately I noted something strange while testing and I have the same image twice in thedocke rimage ls output, so somethingis happening with the image listing.

We usually need the following information to understand the issue:

  1. What platform are you using? Windows, Linux or macOS? Which version of the operating systems? In case of Linux, which distribution?

  2. How did you install Docker? Sharing the platform almost answers it, but only almost. Direct links to the followed guide can be useful.

  3. On debian based Linux, the following commands can give us some idea and recognize incorrectly installed Docker:

    docker info
    docker version
    

    Review the output before sharing and remove confidential data if any appears (public IP for example)

    dpkg -l 'docker*' | grep '^ii'
    snap list docker
    

    When you share the outputs, always format your posts according to the following guide: How to format your forum posts