Support official Docker packages on Red Hat/CentOS

Docker support on RHEL/CentOS was in a pretty bad shape a few years ago, but this is no longer the case, especially with the overlay2 storage driver on 7.3+. I run multiple production clusters on it with no issues.

However, I agree with you that there are many ways to get it wrong (i.e. using devicemapper, using third party Docker packages, …). The devicemapper driver in particular is known to cause issues - it runs on a loop device by default, which is unsuitable for production. It needs to run on a LVM thin pool and even then I’ve seen weird build failures with it.

This configuration is known to work:

  • at least RHEL/CentOS 7.4
  • overlay2 storage driver on xfs with d_type=1 or ext4
  • running Red Hat’s docker or docker-latest packages
5 إعجابات