I have a droplet with 25 GB SSD and Docker running on it. My droplet memory is 100% utilized and now I cannot write even one file.
I have attached an external volume of 100GB and mounted it in the droplet. But now I am clueless about how to enable it in my docker and the application running on it.
Please help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @sagarsprone
You can examine the disk space usage and delete any data which is not crucial to your application or website. What is the output of the following command:
Also, I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:
The other option will be to resize the droplet. You can check this article on how to resize your droplet:
Regards, Alex
The article on the below link helped me to resolve the issue.
https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/