A recently discovered bug in Docker 17.x’s handling of cgroups kernel memory controller (kmem) causes instability for the entire system when the
kmem accounting feature is activated. Customers may notice tasks or commands getting stuck indefinitely and kernel-related error messages in the system logs. Mesosphere DC/OS customers and community members who utilize RedHat or CentOS as their base operating systems are strongly advised to install and use RedHat’s fork of Docker 1.13. This fork of Docker does not require an RHN subscription.
Requirements and Recommendations
Before installing Docker on CentOS/RHEL, review the general requirements and recommendations for running Docker on DC/OS and the following CentOS/RHEL-specific recommendations:
OverlayFS is now the default in Docker CE. There is no longer a need to specify or configure the overlay driver. Prefer the OverlayFS storage driver. OverlayFS avoids known issues with
loop-lvmmode and allows containers to use docker-in-docker, if they want.
Format node storage as XFS with the
ftype=1option. As of CentOS/RHEL 7.2, only XFS is currently supported for use as a lower layer file system.
For more a more detailed breakdown of installing docker, see the Docker CE for CentOS installation page.
mkfs -t xfs -n ftype=1 /dev/sdc1