Is it possible to limit container access to CPU?
I've tried:
But I get the following error:
Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted.
It works if I only limit the memory.
Thanks in advance!
I've tried:
Code:
deploy:
resources:
limits:
memory: 500m
cpus: '0.10'
Error response from daemon: NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted.
It works if I only limit the memory.
Thanks in advance!