0

I’ve having i7 4c8h machine installed docker, just tried ubuntu 16.04 and found the /proc/cpuinfo shows the running container is using 2 logical calls.

My question is, how to change the cpu core number when running docker image?

Thanks.

Troskyvs
  • 7,537
  • 7
  • 47
  • 115
  • 3
    How are you running docker? Is this on Windows or Mac? – BMitch Apr 29 '17 at 17:39
  • This probably is due to the Docker configuration in your compueter. I suspect you are using Windows or Mac. Go to the whale and see the settings – Robert Apr 29 '17 at 18:15
  • `docker run --cpuset-cpus="0" ...` http://stackoverflow.com/a/25999490/6085135 – brennan Apr 30 '17 at 14:10

0 Answers0