Docker Community Forums

Share and learn in the Docker community.

/var/lib/docker/overlay2/ volumes on filesystem `df -h`

Hi,

Month or two ago I started seeing all my running dockers volumes in df -h

overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/0c2eff8a0e499d38d4590344bc4d222ebfcd5b3840cd511c791f5e300ec7f5b5/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/a53e3fe5a2062d3fa04968f907484e4fff081d1841745eaef889c1e749ecaff6/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/36bb9a15087012d51b4493ed534192ba8ad266e0571318644f8f1f139f1f3750/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/225b82e472937365e2dc9d6cc15b08f5b464056d6ab1309b2115c8fc12a20fa0/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/5237d59aa412985ae069b292bf7ceffb4ce05f0de33c162a7f339f11255d7ef3/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/94ad58273b697d29b2ad279e4e00ce330703de466dba71c583e8c244dfb9e92d/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/29244a38f7f1093f9130d07159895dfbe33b5689d0fd9e523c5bfd745416c623/merged
overlay                938G  9.8G  880G   2% /var/lib/docker/overlay2/02520527b2a69562896bf542916d061ccd85f9858e2842f4223dcbc49f063995/merged

Its not taking any extra space but I never seen this behaviour before. docker volume prune doesn’t help, only way to remove these volumes is purging the whole image.

Is there anyway I can remove them from df -h without affecting the containers?

Thanks