You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2019/01/04 17:41:00 UTC

[jira] [Created] (YETUS-758) docker-cleanup doesn't always clean

Allen Wittenauer created YETUS-758:
--------------------------------------

             Summary: docker-cleanup doesn't always clean
                 Key: YETUS-758
                 URL: https://issues.apache.org/jira/browse/YETUS-758
             Project: Yetus
          Issue Type: Bug
            Reporter: Allen Wittenauer


With the revamp of how images get referenced in YETUS-723, images with multiple tags aren't able to be removed.  e.g.:

{code}
REPOSITORY                                            TAG                 IMAGE ID            CREATED             SIZE
trekawek/azurite                                      2.6.5-1             13e75c93709b        7 months ago        107MB
trekawek/azurite                                      latest              13e75c93709b        7 months ago        107MB
Untagged images:
Apache Yetus images:
Other images:
Attempting to remove docker image 13e75c93709b
Error response from daemon: conflict: unable to delete 13e75c93709b (must be forced) - image is referenced in multiple repositories
Attempting to remove docker image 13e75c93709b
Error response from daemon: conflict: unable to delete 13e75c93709b (must be forced) - image is referenced in multiple repositories
{code}

We probably need to re-add some of the 'remove by tag' code that was removed by 723.  (Using --force is way too dangerous)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)