No Space Left On Drive

Hello,
I am relatively new to Docker and running on Ubuntu and I am trying to install the Immich via Docker Compose. When I try to run the docker compose, it begins downloading and then gives me the following error

failed to register layer: write /usr/lib/x86_64-linux-gnu/libicudata.so.72.1: no space left on device

I have tried searching about the topic and have run commands clearing all of the unused volumes and images such as

docker system prune -a
docker system prune --volumes

docker system df shows no reclaimable space.

It looks like I need to expand the volume that docker stores itā€™s files. I have read some documentation on how to do this but I get a little bit confused as my volume layout doesnā€™t seem to match up with the videos. Below is my volume setup

root@docker:~# df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              392M  1.6M  390M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   15G   13G  1.7G  89% /
tmpfs                              2.0G     0  2.0G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/sda2                          2.0G  242M  1.6G  14% /boot
tmpfs                              392M  4.0K  392M   1% /run/user/1000
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/45455edc5730e712d4c515ee75610620e94a13842a266a8cc6f44f60d67e3754/merged
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/27e9e84fc212704f8417ab317fdeab15d93ea4951b39e8f850e9ff6e061455bd/merged
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/ec340d4186c412a439e3529bc1da1a32deafad61994b10c57712ca52c90e4841/merged
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/9108a71a90a43a69cbdfb120483775b9001799bad71853e42e0f881695253f3a/merged
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/31138be09f87369ddbb8f0184112461b5dc19d93dcdb841f9348b90334be1750/merged
overlay                             15G   13G  1.7G  89% /var/lib/docker/overlay2/19460fb6b116619aa9d246792dca86ac6bfa9cab8147aca42d50206614213fb6/merged

root@docker:~# pvs
  PV         VG        Fmt  Attr PSize   PFree
  /dev/sda3  ubuntu-vg lvm2 a--  <30.00g <15.00g
root@docker:~# vgs
  VG        #PV #LV #SN Attr   VSize   VFree
  ubuntu-vg   1   1   0 wz--n- <30.00g <15.00g
root@docker:~# lvs
  LV        VG        Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  ubuntu-lv ubuntu-vg -wi-ao---- 15.00g

If I could please be pointed in the direction of a beginner friendly guide that would be greatly appreciated thanks!

So if I understand it correctly, your problem is with LVM, not Docker at the moment. The following post could help

https://askubuntu.com/a/1489136/381296

1 Like

Thanks mate, thatā€™s the best guide explaining Linux volumes Iā€™ve seen. I appreciate the help and that has fixed my probem!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.