skip to Main Content

How to specify the number of CPU a container will use? – CentOS

I am on working on Windows Server 2019 and trying to run a docker container of CentOS on it. I am running the following: PS C:Windowssystem32> docker run -dit --name=testing23 --cpu-shares=12 raycentos:1.0 6a3ffb86c1d9509a9d80f0de54fc6acf5731ca645ee74e6aabe41d7153b3af70 PS C:Windowssystem32> docker exec -it 6a3ffb86c1d9509a9d80f0de54fc6acf5731ca645ee74e6aabe41d7153b3af70 bash…

VIEW QUESTION
Back To Top
Search