Limit CPU usage with Docker

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
cheesefish
Posts: 1
Joined: Thu Sep 12, 2019 11:23 am

Limit CPU usage with Docker

Post by cheesefish »

I'm running DietPi on an RPi4 and using Docker to host a number of services. I'd like to limit specific containers CPU usage (e.g. Transmission) to ensure other services get the resources they need (e.g. Pi-hole). I haven't been able to enable cpuset cgroup. Docker info reports:

Code: Select all

WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
I have tried adding cgroup_enable=cpuset to /boot/cmdline.txt but no luck. Any ideas?

Post Reply