How to specify cpu percent of host usage for conta

2019-08-09 06:32发布

问题:

with docker --lxc-conf="lxc.cgroup.cpuset.cpus = 0 we can specify cpu usage

docker run -d --name web --lxc-conf="lxc.cgroup.cpuset.cpus = xxx

There is a way to do it in fig?