Description
The docker cleanup code should check to make sure the raw image id is still valid before trying to rmi it:
Attempting to remove docker image 13e75c93709b Untagged: trekawek/azurite:2.6.5-1 Untagged: trekawek/azurite:latest Untagged: trekawek/azurite@sha256:09c1a9001adc491c5f191621a2df48e3f972bf843efa74ae6d16895cb56662d4 Deleted: sha256:13e75c93709b930512c199b06f822fb0c34ea1dd4114a01e6b00bfd089f78f86 Deleted: sha256:cde08104cdc69031a71a613d539b91515db42146b3d595313ee6642b8b01458e Deleted: sha256:6e41e7ae95796df2058f02a2eed9545eaad6e5c91a46a2349541b24141eff2ba Deleted: sha256:256ac8f43742a4a0ee2e9466abfe094d3fed0fb3391603dd69a7fb628d974661 Deleted: sha256:880baa76624cdc7319adb4a67fbfbc5561d152dbabd27519e036b23342a4ea62 Deleted: sha256:82d0fc10abb1c78bf4240daec73360066ac1c6870c78839965fa623a94dfad60 Deleted: sha256:8dd02e14f198348365e2e6b8db527536232addf4a5badc5c4b7bb60a8f9e97b1 Deleted: sha256:59401466fb8d00bfd23d31b5da6c3ee01a885760b38ab489451dc730e4b4ef06 Deleted: sha256:cd7100a72410606589a54b932cabd804a17f9ae5b42a1882bd56d263e02b6215 Error response from daemon: No such image: 13e75c93709b:latest Error: No such image: 13e75c93709b
This is the equivalent of a double free; it happens because the tag-based rmi was the only remaining reference and so docker (correctly) removes it.