How set data disk space size? - Sonatype Nexus Repository - Sonatype Community

How set data disk space size?

post by zillag on Feb 7, 2022

Nexus v3.x running as a Docker container.

I setup a Ubuntu VM with 1TB disk space. However, the container seems to only use 180G, and has run out of space. Hence I can’t even log in. How can I set the amount of disk space the container uses?

I initially created the volume.

$ docker volume create --name nexus-data

I do this to start the container

$ docker run -d -p 8081:8081 --memory 16g --name nexus -v nexus-data:/nexus-data sonatype/nexus3

I essentially followed the steps at the bottom of Sonatype Nexus3 Docker: sonatype/nexus3

post by ralph.bolton on Feb 9, 2022

Are you out of inodes rather than space, perhaps? df -i will tell you how many you’re using.

post by zillag on Feb 9, 2022

Thanks @ralph.bolton, I’ll try that too. Although df -h shows it only used 180G/1T, and it’s showing 100%. I can’t even log into the Nexus app.

New & Unread Topics

Topic Replies Views Activity
Clear cached LDAP users 3 125 Aug 2025
Clarification on robots.txt Exposure and CVE-2024-4956 in Nexus Repository 3.69.0 2 555 Feb 20
Maven repository proxy not caching artifacts? 0 73 Sep 2025
Nexus is not overwriting artefacts when deploying new version 1 248 Oct 2025
Error after upgrade to 3.83 NoSuchBeanDefinitionException GroupFacet Qualifier(“groupWriteFacet”) 1 261 Aug 2025