yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YETUS-758) docker-cleanup doesn't always clean
Date Sun, 03 Feb 2019 21:47:00 GMT

     [ https://issues.apache.org/jira/browse/YETUS-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated YETUS-758:
-----------------------------------
    Component/s: Test Patch

> docker-cleanup doesn't always clean
> -----------------------------------
>
>                 Key: YETUS-758
>                 URL: https://issues.apache.org/jira/browse/YETUS-758
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>    Affects Versions: 0.9.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: YETUS-758.00.patch
>
>
> 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}
> Specifcally rmi'ing the tag works:
> {code}
> docker rmi  trekawek/azurite:latest
> Untagged: trekawek/azurite:latest
> docker rmi  trekawek/azurite:2.6.5-1 
> Untagged: trekawek/azurite:2.6.5-1
> 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
> {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)

Mime
View raw message