I'm running docker containers on my machine which puts it all in /var/. df
shows that /var/ is only 5G but I know the total amount of this system if 40G and it has at least 24G available. How can increase the size of /var/ an extra 15G? I'm unclear on if I should be doing this in my docker-compose file or through CentOS itself. The docker documentation on filesystems is incredibly confusing.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 27G 2.9G 24G 11% /
/dev/mapper/centos-var 5.0G 4.1G 944M 82% /var
pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 centos lvm2 a-- <39.50g 4.00m
vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 4 0 wz--n- <39.50g 4.00m