Two solutions are available for this issue. In your specific case, the first solution can be applied. The third solution involves using a specific command to find dangling/untagged images. This command can also be used to list image layers for the untagged image. Another solution to the error is to edit the image ID, which may have a wrong third character. Additionally, a more generic solution is available for this issue, which has been written and tested in GNU.
Appreciation for michalk’s input. In brief:
- The Docker registry v2 introduced a “digest,” which is a hash of the manifest.
- The local image JSON configuration is hashed to generate the image ID.