Docker CPU Core/Thread Groups

Recommended Posts

I have been working on specifying which cores my docker containers have access to and after working through all this I think it would be super helpful if we could create "Core Groups" that we could add our containers to. For example if I have a total of 15 containers, 6 of which use very few system resources I think it would save a lot of time if I could do the following:


1. Create Core Group named "Background Processes" 

2. Add the 6 containers (either from this page or in the pages of the individual docker setup screens)

3. Select which cores/threads this group has access to

4. Complete and update all required docker containers

5. Rinse and repeat for any other groups you need


Use cases and benefits:

Fewer clicks required when creating docker containers, just add them to a existing group and bam it has access to cores 7, 19, 8, and 20 without you needing to remember those numbers. 


If you have a group of docker containers that need more/fewer resources you can go into the group and add/remove cores all in one place. 


In a system with multiple CPUs you can balance their usage by moving whole groups from one CPU to another.


If there was a Core Group overview you could visually see if any of your dockers or groups have overlapping resources. 


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.