How to free up disk space? Docker-volumes
-
Hi,
My docker-volumes, /var/lib/docker is taking up 57 GB (server only has 60GB) and now it's causing the app problems to start.
Is it safe to remove some of the docker images or data in the docker-volumes? It seems rather high to take up 57GB. I am only running one app, Freescout, and it was not used too much.
Thanks,
-
You need to remove some log files and also unused kernels
apt-get remove `dpkg --list 'linux-image*' |grep ^ii | awk '{print $2}'\ | grep -v \`uname -r\``source: https://docs.cloudron.io/troubleshooting/
and:
Use ncdu to browse every container
My results:
Gained 1gb of storage by deleting /usr/local/share/.cache/yarn/ on a container volume
Gained 500mb of storage by deleting Anaconda distribution package cache within a container volume -
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
-
S SolarSimon referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login