Docker Community Forums

Share and learn in the Docker community.

Best practice docker + BTRFS volume

Hi,

i’m new in docker.
I’m interested in setting up Docker (version 20.10.0) on ubuntu 2004.
At the moment, my server has only one disk partition and i use BTRFS.

I don’t find what could be best solution with docker :

  • create a new BTRFS partition to mount /var/lib/docker
  • let my only one BTRFS partition system and using a BTRFS subvolume to mount /var/lib/docker

Don’t know if it matters but…
Maybe for snapshots…

Thanks for your help.