Docker Community Forums

Share and learn in the Docker community.

Recommended disk storage & partitioning-scheme for CentOS 7

I’m creating a CentOS 7 VM purely for Docker use.

CentOS recommends that you create separate file systems at the following mount points:

  • /boot
  • / (root)
  • /home
  • swap

Questions:

  • Should I follow the above approach for a docker machine?
  • Do I need partitions for /home and /swap needed?
  • I’m thinking of mounting 2 disks sda & sdb?
    sda disk for above
    & sdb disk for /var/lib/docker