# Docker uses root partition, might need more storage space

**URL:** <https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2017 年9 月 3 日 20:23 UTC](https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298 "2017-09-03T20:23:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Ironclad14](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ironclad14/32/120185_2.png) [@Ironclad14](https://meta.discourse.org/u/Ironclad14)\
发布日期： [2017 年9 月 3 日 20:23 UTC](https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298/1 "2017-09-03T20:23:49Z")

</div>

Hi guys,

First post here, sadly it’s regarding support. Docker seems to use my /root partition which is only 20 GB and the rest of my 2TB drive is on /home.

```
root@legio:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 20G 8.3G 9.9G 46% /
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 4.0K 7.8G 1% /dev/shm
tmpfs 7.8G 394M 7.4G 5% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/md2 487M 25M 433M 6% /boot
/dev/md4 1.8T 51G 1.7T 3% /home
overlay 20G 8.3G 9.9G 46% /var/lib/docker/overlay2/aa30e247cdd1f95098ce909f333aae8a968b431c07856f242614528d6e2490c3/merged
shm 64M 4.0K 64M 1% /var/lib/docker/containers/201cd5c089c15b57b38fc94b3331212494d0a9514ea6ca51ec88bbcacce0cf0a/shm
overlay 20G 8.3G 9.9G 46% /var/lib/docker/overlay2/d249b6017bcfdae9742caed4402fe02936b1ddb55eb5178504d161061d49f178/merged
shm 64M 0 64M 0% /var/lib/docker/containers/0b11fcac390be8525e451bf00270916063c7da519c368e170c49f5f741c1b425/shm

```

Can you let me know of any way I can make use of more space without having to resize partitions? It’s risky business while they’re mounted and data loss isn’t something anyone likes to deal with. 🙂

Running Debian 9.1 stable on a dedicated machine.

Any help will be appreciated.

---

_[View the full topic](https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298)._
