[JIRA] (OVIRT-1535) Docker cleanup fails to clean non-named/non-tagged images

Daniel Belenky (oVirt JIRA) jira at ovirt-jira.atlassian.net
Thu Jul 13 12:55:10 UTC 2017


     [ https://ovirt-jira.atlassian.net/browse/OVIRT-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Belenky reassigned OVIRT-1535:
-------------------------------------

    Assignee: Daniel Belenky  (was: infra)

> Docker cleanup fails to clean non-named/non-tagged images
> ---------------------------------------------------------
>
>                 Key: OVIRT-1535
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1535
>             Project: oVirt - virtualization made easy
>          Issue Type: New Feature
>            Reporter: Daniel Belenky
>            Assignee: Daniel Belenky
>            Priority: Highest
>
> In a case where a docker image is being built, it generates layers which are unnamed and untagged. This causes the cleanup script to fail when trying to clean them.
> An example of such a failure can be found [here|http://jenkins.ovirt.org/job/ovirt-containers_master_check-patch-el7-x86_64/55/]
> The quick fix would be to ignore those trailing layers or alternatively detect them and remove them by image id. Imo, the second option is safer because every 'trailing layer' like that may get large (1GB+).
> The long-term solution would be to implement some sort of garbage collector for orphaned layers.
> I've found an open ticket [1] with some optional solutions, still need to see if they fit for our use case. If not, maybe consider implementing something similar.
> [1] [github|https://github.com/docker/docker-registry/issues/223]



--
This message was sent by Atlassian JIRA
(v1000.1112.0#100055)


More information about the Infra mailing list