# Sonatype Nexus Docker Registry - Disc Consumption

**URL:** <https://community.sonatype.com/t/sonatype-nexus-docker-registry-disc-consumption/13034>\
**Category:** Sonatype Nexus Repository\
**Tags:** help, support, docker, nexus-repository\
**Created:** [August 12, 2024, 1:27pm UTC](https://community.sonatype.com/t/sonatype-nexus-docker-registry-disc-consumption/13034 "2024-08-12T13:27:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ganeshthirumani5](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@ganeshthirumani5](https://community.sonatype.com/u/ganeshthirumani5)\
**Post date:** [August 12, 2024, 1:27pm UTC](https://community.sonatype.com/t/sonatype-nexus-docker-registry-disc-consumption/13034/1 "2024-08-12T13:27:11Z")

</div>

I recently switched to using the Sonatype Nexus Repository for hosting my Docker images. Previously, I used the [Docker registry image](https://hub.docker.com/_/registry/tags) to store my Docker images.

With approximately 30 Docker images, the Docker registry image consumed around **13GB** of space. However, after switching to the Sonatype Nexus image, the storage usage has increased to about **22GB** which is huge.

I’m unable to pinpoint the cause of this significant increase in storage consumption. Any assistance in identifying and resolving this issue would be greatly appreciated.

with this data, I am creating the repo…

```auto
'{
  "name": "'$docker_hosted_repository_name'",
  "online": true,
  "storage": {
    "blobStoreName": "default",
    "strictContentTypeValidation": true,
    "writePolicy": "allow"
  },
  "component": {
    "proprietaryComponents": true
  },
  "docker": {
    "v1Enabled": false,
    "forceBasicAuth": true,
    "httpPort": '$docker_port'
   }
}'

```

Thanks in advance.

---

_[View the full topic](https://community.sonatype.com/t/sonatype-nexus-docker-registry-disc-consumption/13034)._
