# Disk space usage of /lib/docker is high

**URL:** <https://meta.discourse.org/t/disk-space-usage-of-lib-docker-is-high/67375>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [3 augustus 2017 om 12:12 UTC](https://meta.discourse.org/t/disk-space-usage-of-lib-docker-is-high/67375 "2017-08-03T12:12:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [11 augustus 2017 om 19:30 UTC](https://meta.discourse.org/t/disk-space-usage-of-lib-docker-is-high/67375/8 "2017-08-11T19:30:06Z")

</div>

Looking at the `man` page, straight `du` is clever about hard links

```plaintext
$ du -sch overlay
9.7G	overlay
9.7G	total

```

With `-l` it counts every occurrence of the hard link as a unique file, so that gives an even higher reading:

```plaintext
$ du -schl overlay
15G	overlay
15G	total

```

So I don’t think the `9.7GB` is caused by the layers - unless there’s some method other than hard links that could be tripping me up.

---

_[View the full topic](https://meta.discourse.org/t/disk-space-usage-of-lib-docker-is-high/67375)._
