# Cleaning up /nexus-data/tmp

## post by jsevans on Apr 11, 2024

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?

## post by rseddon on Apr 11, 2024

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

### New & Unread Topics

#### SQL Error  
[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6)  
- Replies: 2  
- Views: 118  
- Activity: Oct 2025

#### Migration Issue during Nexus 2 to Nexus 3 upgrade (LDAP Configuration Error)  
[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6)  
[docker](https://community.sonatype.com/tag/docker), [upgrade](https://community.sonatype.com/tag/upgrade), [ldap](https://community.sonatype.com/tag/ldap)  
- Replies: 0  
- Views: 81  
- Activity: Dec 2025

#### Problem using Golang proxy repository from a non-internet-connected client machine/container  
[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6)  
[nexus-repository](https://community.sonatype.com/tag/nexus-repository), [proxy](https://community.sonatype.com/tag/proxy), [golang](https://community.sonatype.com/tag/golang)  
- Replies: 3  
- Views: 154  
- Activity: Jan 8

#### Proxy repo for rhn anyone?  
[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6)  
- Replies: 3  
- Views: 121  
- Activity: Jan 20

#### Custom Auth Plugin Supports Basic Auth but Not Bearer Token (Realm Not Invoked for Bearer Tokens)  
[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6)  
[help](https://community.sonatype.com/tag/help)  
- Replies: 0  
- Views: 57  
- Activity: Sep 2025
