I am currently using a Macbook Pro with i7, which has 8 cores. However, I am not able set the CPU cores to more than 1. When I run
docker run --cpus=2 "my-image"
I get the following error:
docker: Error response from daemon: Range of CPUs is from 0.01 to 1.00, as there are only 1 CPUs available.
What am I missing?
docker version
? Do you have docker for mac?(the whale in the taskbar) – Shinbone