-
Notifications
You must be signed in to change notification settings - Fork 291
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
libdocker.GenerateMountBindings()
: Disable RRO mounts when bumping up the Docker API client package to v25 (API v1.44)
#309
Comments
(This needs migrating from the legacy bind strings to the modern mount structs, but migrating "Z" isn't straightforward) |
Should probably have been 0.4.0, and not 0.3.12 |
Hindsight being what it is, probably. At the time this seemed like a pretty simple bugfix for a regression caused by an unintended API change. |
Could still be a good idea to bump the next release to 0.4.0, once all the fixes are in and tested and so forth? Then I suppose there could be a 0.3 maintenance branch, and a 0.3.13 with the commit reverted (as suggested). |
That seems reasonable to me (though I don't think there is any need for the 0.3 maintenance branch); cc @nwneisen. |
cri-dockerd/libdocker/helpers.go
Lines 205 to 261 in 8ae7a0e
Docker v25 (API v1.44) treats read-only mounts as recursively read-only by default: moby/moby#45278 (comment)
But this appeared to be too much breaking for Kubernetes: kubernetes/enhancements#3858 (comment)
So cri-dockerd has to disable RRO by setting
BindOptions.ReadOnlyNonRecursive
.The text was updated successfully, but these errors were encountered: