Reclaiming disc space from Docker (Traditional/Native)

Jason Ritz
Jason Ritz
  • Updated

Author: Jason Ritz

Date: December 6th, 2023

Audience: Everyone

Environmental details: Self-Hosted (Native/Traditional)

 

Summary: 

After upgrades of Jama Connect (Native), the existing Docker volumes and images from the 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

Please sign in to leave a comment.