-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker: default to hyper-v isolation on Windows #23452
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
0a842f7
to
05cf093
Compare
Was the breaking change necessary for a security reason? It seems weird to have otherwise ported a breaking change across several releases otherwise. |
Hey @josegonzalez, this change is part of a larger effort to mitigate GHSA-c866-8gpw-p3mv. Our initial solution caused some problems for Windows users that ran containers using process isolation. We now provided a solution for process isolation containers, but decided to default to hyper-v since it's not vulnerable to CVE-2024-1329 in the first place and provides a more secure, better default. |
To add to that, we can assure you that making a breaking change here was not considered lightly. We had no way of fixing the initial solution we had and even our partners at Microsoft were unable to help. So this change was the only way to get |
Should that have been called out as a breaking security-related change then? ATM without extra context, it just looks like ya'll broke BC for no apparent reason (the reasoning is ~fine I suppose). |
Fair enough, done. You'll also be interested to see the new page we just published with upcoming deprecations/compatibility items: https://developer.hashicorp.com/nomad/docs/release-notes/nomad/upcoming |
We should default to
hyper-v
isolation mode on Windows, as suggested in discussions between @tgross and @angrycub.