Coder.comC
Coder.com3y ago
68 replies
Koru (Z)

is there any possible way to limit CPU used by a docker container created through a Docker template?

I copied and edited the default Docker Coder template and after checking some docs pages managed to limit the RAM it can use, but I haven’t found any working way to limit the amount of CPUs (let’s say, 0.5 cores) used by the container. Is there any way to do so?
Was this page helpful?