Reclaiming disc space from Docker (Traditional/Native)

Jason Ritz
Jason Ritz
  • Updated

Author: Jason Ritz

Updated: September 2024

Audience: Everyone

Environmental details: Self-Hosted (Native/Traditional)

Summary

After upgrading Jama Connect (Native), the existing Docker volumes and images from previous versions are not removed from the server. This can unnecessarily fill up the server disc space and lead to issues. 

Solution

Check the current disc usage of the server 

df -h

Check the disc space used by Docker 

docker system df 

Remove the unused volumes (dangling) 

docker volume rm $(docker volume ls -qf dangling=true)

Cause

Previous Docker images and volumes are not removed during an upgrade. 

Prevention

Run the solution steps after every upgrade of Jama Connect (Native) 

Additional Information/Metadata

  • Docker 
  • Server disc space 

 

Feedback: Please leave feedback in the comments below.

 

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.