Local images should be tagged and the previous image should be removed
Author: bfirshCreated Sep 23, 2021Updated Jun 26, 2026
Labelsenhancementgo
This is a follow-on from #80, which has some more details about how this is done in Docker Compose.
We could tag images so they're identifiable in docker images. We could also use this tag to delete an old image when a new one is built, by keeping a pointer to the old image before the new image is built.
Source: replicate/cog