Docker Community Forums

Share and learn in the Docker community.

Container CPU allocation


(Patrickp) #1

I understand that a container can be restricted to run on allocated physical cores using the --cpuset parameter in the RUN command; my question is: can a selected number of virtual CPUs then be allocated to be available within the container. If this is possible would someone please tell me how this is done.

Thanks in advance for any help with this.

Patrick.