-
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: adjust capabilities on Windows #23599
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!
It's really unfortunate that Docker doesn't expose this default via the API (ex. their "system" API), as I'm sure at some point in the future they're going to change it again and break this behavior. But I can't think of a better way to handle it in the face of that, either, short of doing something silly-expensive like just running the container and retrying with a different set of caps if that fails.
Co-authored-by: Tim Gross <[email protected]>
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Adjusts Docker capabilities per OS, and checks for runtime on Windows.
Fixes #15181
Internal ref: https://hashicorp.atlassian.net/browse/NET-9506