Docker Community Forums

Share and learn in the Docker community.

Setting --blkio-weight on amazon linux


(Scalegrid) #1

Expected behavior

Set --blkio-weight parameter for containers on Amazon linux

Actual behavior

We are trying to set --blkio-weight on some containers in Amazon linux and it doesn’t appear to be working. We get the following error message
Your kernel does not support Block I/O weight or the cgroup is not mounted. Weight discarded.

Additional Information

Kernel version: 4.9.51-10.52.amzn1.x86_64

Steps to reproduce the behavior

Is there a particular kernel version we should be using?
Does this work on Centos?