Nexus don't free space after remove docker images

2,331 views
Skip to first unread message

Stefano

unread,
Dec 5, 2016, 3:17:58 AM12/5/16
to Nexus Users
Hi, i'm new to Nexus, i use it only for provate docker registry. It work very well but if i remove docker images from repository (using web interface), the space occupied does not change...you have to do something else?

Thanks

Stuart McCulloch

unread,
Dec 5, 2016, 6:17:31 AM12/5/16
to Stefano, Nexus Users
Hi Stefano,

Have you run the “Compact blob store” task?  You can either run this manually or according to a specific schedule:



We’re also working on a task to help purge dangling docker images: https://issues.sonatype.org/browse/NEXUS-9293

-- 
Cheers, Stuart

On Monday, 5 December 2016 at 08:17, Stefano wrote:

Hi, i'm new to Nexus, i use it only for provate docker registry. It work very well but if i remove docker images from repository (using web interface), the space occupied does not change...you have to do something else?

Thanks

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/98d4af08-6fcd-4eea-8610-46c2b9e14b34%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.

Stefano Cognigni

unread,
Dec 5, 2016, 8:04:19 AM12/5/16
to Stuart McCulloch, Nexus Users
Thanks Stuart,
i have already run the "Compact blobstore" but no change anything, i
pushed for test too many docker images and now i removed all, except
one, the space used by repo is 4,4 GB, the image stored is 1 GB, i need
clean repository....it seems is a bug

Il 05/12/2016 12:17, Stuart McCulloch ha scritto:
> Hi Stefano,
>
> Have you run the “Compact blob store” task? You can either run this
> manually or according to a specific schedule:
>
> https://books.sonatype.com/nexus-book/3.1/reference/admin.html#admin-repository-blobstores
>
> https://books.sonatype.com/nexus-book/3.1/reference/admin.html#admin-system-tasks
>
> We’re also working on a task to help purge dangling docker
> images: https://issues.sonatype.org/browse/NEXUS-9293
>
> --
> Cheers, Stuart
>
> On Monday, 5 December 2016 at 08:17, Stefano wrote:
>
>> Hi, i'm new to Nexus, i use it only for provate docker registry. It
>> work very well but if i remove docker images from repository (using
>> web interface), the space occupied does not change...you have to do
>> something else?
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Nexus Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to nexus-users...@glists.sonatype.com
>> <mailto:nexus-users...@glists.sonatype.com>.
>> To post to this group, send email to nexus...@glists.sonatype.com
>> <mailto:nexus...@glists.sonatype.com>.
>> <https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/98d4af08-6fcd-4eea-8610-46c2b9e14b34%40glists.sonatype.com?utm_medium=email&utm_source=footer>.

Stuart McCulloch

unread,
Dec 5, 2016, 8:15:38 AM12/5/16
to Stefano Cognigni, Nexus Users
OK, that sounds like the orphaned layer situation that https://issues.sonatype.org/browse/NEXUS-9293 will also address
Reply all
Reply to author
Forward
0 new messages