Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

docker-machine --hyperv-cpu-count switch? #2457

Closed
dubrowgn opened this issue Nov 30, 2015 · 2 comments
Closed

docker-machine --hyperv-cpu-count switch? #2457

dubrowgn opened this issue Nov 30, 2015 · 2 comments

Comments

@dubrowgn
Copy link

I noticed there is a switch for the virtualbox driver to set the number of VM cpus (--virtualbox-cpu-count). Are there plans to introduce a similar switch for the hyperv driver?

@jeanlaurent
Copy link
Member

The hyperv driver is quite old. It needs a significant rewrite to be usable.

You're request is still valid, just that probably not that high in the chain.

@dubrowgn
Copy link
Author

dubrowgn commented Dec 1, 2015

It doesn't look like this would be too difficult to implement, after looking through the driver code a bit. It seems the powershell command to change the cpu count setting looks like: SET-VMProcessor –VMName <vm name here> –count <cpu count here>. Unforntuately, I won't have time for a while to mess around getting a go compiler up and running as we have much higher priorities at the moment.

dgageot added a commit to dgageot/machine that referenced this issue Dec 22, 2015
Signed-off-by: David Gageot <david@gageot.net>
dgageot added a commit to dgageot/machine that referenced this issue Dec 23, 2015
Signed-off-by: David Gageot <david@gageot.net>
dgageot added a commit to dgageot/machine that referenced this issue Dec 23, 2015
Signed-off-by: David Gageot <david@gageot.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants