# Cleaning up /nexus-data/tmp

**URL:** <https://community.sonatype.com/t/cleaning-up-nexus-data-tmp/12399>\
**Category:** Sonatype Nexus Repository\
**Tags:** docker, nexus-repository\
**Created:** [April 11, 2024, 7:47am UTC](https://community.sonatype.com/t/cleaning-up-nexus-data-tmp/12399 "2024-04-11T07:47:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsevans](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jsevans](https://community.sonatype.com/u/jsevans)\
**Post date:** [April 11, 2024, 7:47am UTC](https://community.sonatype.com/t/cleaning-up-nexus-data-tmp/12399/1 "2024-04-11T07:47:40Z")

</div>

Hi all, I’m currently running Nexus as a docker container. The directory, inside the container, /data/tmp is using a large amount of data that appears to be just text files and I would like to clear them out or at least compress them. According to the [documentation](https://help.sonatype.com/en/configuring-the-runtime-environment.html#configuring-the-temporary-directory):

> do not manipulate any files put into the temp directory, especially when repository manager is running

I would like to know, if I stop the container and remove/compress the text files older than 90 days, what kind of issues, if any, can I expect?

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [April 11, 2024, 1:11pm UTC](https://community.sonatype.com/t/cleaning-up-nexus-data-tmp/12399/2 "2024-04-11T13:11:40Z")

</div>

It is safe to clear out that directory when Nexus Repo is not running. I’ll have the documentation updated.

Rich
