You’d most likely would have to find out where Doc...
# shuttle
j
You’d most likely would have to find out where Docker saves images/containers on your OS and clean it up manually
c
@User I have deleted everything I can find from the /var/lib/docker folder and the images from when I run "docker image ls" Is there any other place i should look for the image/containers? Also is there a way to specify the docker image location to change it from /var/lib/docker? Thanks!
j
which os are you on Connie?
c
I am on Linux
j
which version?
c
ubuntu 20.04.3 I believe
j
try /var/lib/docker/overlay2
Copy code
$ docker system prune -a
and
Copy code
$ docker volumes prune
are generally used to clean up old containers/images/volumes
has information on how to change the storage drivers and locations
c
Thanks so much! I will try the prune commands, since I have deleted the entire /var/lib/docker folder but was still not recovering all of the memory
What is the difference/function of the daemon compared to docker? Are they interchangeable names for docker?
j
the daemon is the dockerd exectuble which you can see as the "server" side of the Docker system. the "docker" command is a client that sends commands to "dockerd" which it executes. This "dockerd" with "d" on the end for "daemon" is thus a specific part of Docker which handles the actual work of setting up and managing containers.
🌍 1
You might also look for a tool that indexes your drive and shows where much space is being used. I will look up one for Ubuntu, one sec.
c
Thanks! I've been using the disk analyzer that comes with linux but it hasn't been really accurate (it will say I have 3 Gb left in my root but when i run df -h it shows only about 1.6 GB left in my root folder). I will try to install Baobab
How much space does Baobab take up approx?
j
It will be 10s of MBs at most
if you're short on disk space you might consider using the efabless online vm
c
That's great! thanks so much for your help. I will give it a try