How to allocate 50% CPU resource to docker container via `docker run`?
cpu-shares is a ‘relative weight’, relative to the default setting of 1024, so if you had two containers running on the same core, you could give them the CPU 50-50 or 80-20 or whatever you wanted by adjusting the numbers. It is an integer. You cannot give an overall limit, as you want to, using … Read more