Repository navigation
Conversation
Contributor
Author
Contributor
Author
gerhard
marked this pull request as ready for review
August 25, 2022 14:57
Instead of using --privileged with the default buildkit container, use a rootless one which makes it safer: https://github.com/moby/buildkit/blob/master/docs/rootless.md#docker One reason to *not* remove remove privileged is that our pipelines will break, as well as our users'. This is the first step towards attempting to start addressing #151 While this does not solve the issue, it will inform us if this is a step in the right direction and, more importantly, if this is still worth fixing. We (+JF) are on a mission to close old issues! Co-authored-by: Jean-François Farge <[email protected]> Signed-off-by: Gerhard Lazu <[email protected]>
Contributor
|
/cc @sipsma Any side effects in doing this? |
Contributor
Yeah, while rootless works if you set it up just right, there are a ton of tradeoffs. Many of the tradeoffs are really subtle, which makes them hard to decide automatically on a user's behalf. Some examples:
Overall, I think this route will unfortunately lead to the pain of dealing with lots of host-specific configuration, at least for now. |
Contributor
Author
|
Thank you @sipsma & @aluzzardi for your feedback. This sounds like a step in the wrong direction. Closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Instead of using
--privilegedwith the default buildkit container, use a rootless one which makes it safer: https://github.com/moby/buildkit/blob/master/docs/rootless.md#dockerOne reason to not remove remove privileged is that our pipelines will break, as well as our users'.
This is the first step towards attempting to start addressing #151.
While this does not solve the issue, it will inform us if this is a step in the right direction and, more importantly, if this is still worth fixing.
We (+@slumbering) are on a mission to close old issues!