Im having an issue trying to assign containers to various cgroups.
The only success that I have had is when I set a limit on the root blkio subsystem. If I try to assign a limit inside the directory created under cgroups for the container it does not work.
you need to create a cgroup for the container.
for example
use “docker top containerId” to get the pid of the container.
maker -p /sys/fs/cgroup/blkio/mycgroup
change the properties in that directory, for example blkio.weight
then execute "echo PID > /sys/fs/cgroup/blkio/mycgroup/tasks