Best partitioning of OS drive for Docker containers

  • I've finished a new build of a Helios 64 NAS running latest kernel (5.9.14 rockchip 64) and OMV 5.5.20-1 (Usul). The OS in on a Debian/Armbian build and OMV are all on a M2 SATA drive formatted to ext4 as one partition.


    I did a CLI: dh -h to view the /dev/sda1 drive (Primary OS drive) and I've used about 2.6 GB of 229GB available...so I have plenty of space to partition this drive.


    My question is SHOULD I partition the drive and put all Docker containers in this new partition for best practices? I read that I should use GParted Live via USB to partition the /dev/sda1 drive if I've already got my OS on it. Right?????


    I'm somewhat new to Docker so forgive the noob question here.....thanks:)

    • Offizieller Beitrag

    If you have docker on your OS drive you have two consequences I have in mind:

    1. If your OS drive is full, you will not be able to login the GUI of OMV until you make space on the drive available
    2. When you backup you OS drive you will need the additional space

    So depends on you how you judge these two points.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!