By sagarsprone
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!
Accepted Answer
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:
- df -h
Also, I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:
https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error
The other option will be to resize the droplet. You can check this article on how to resize your droplet:
https://docs.digitalocean.com/products/droplets/how-to/resize/
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/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.