问题
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?
来源:https://stackoverflow.com/questions/25451475/how-to-specify-cpu-percent-of-host-usage-for-container-in-fig