buildkit: enable net modes and bridge#37620
Merged
Merged
Conversation
f612659 to
ca016d4
Compare
tonistiigi
commented
Aug 10, 2018
Member
Author
There was a problem hiding this comment.
This is a temporary variable that needs to be set globally because buildkit by default forbids host network entitlement on daemon level.
abhi
approved these changes
Aug 10, 2018
Contributor
abhi
left a comment
There was a problem hiding this comment.
LGTM. I will give the patch a try for better understanding.
Codecov Report
@@ Coverage Diff @@
## master #37620 +/- ##
=========================================
Coverage ? 35.16%
=========================================
Files ? 611
Lines ? 45817
Branches ? 0
=========================================
Hits ? 16112
Misses ? 27485
Partials ? 2220 |
Member
Author
|
Forgot to add |
ad04a1c to
fcd1f8e
Compare
Member
|
This test is failing on all CI, so may be related; |
thaJeztah
requested changes
Aug 17, 2018
Member
There was a problem hiding this comment.
moby/buildkit#560 was merged; so this can likely be "un-forked"
Contributor
There was a problem hiding this comment.
@thaJeztah yes, I'll update as soon I fixed the failure hopefully with @abhi's help
fcd1f8e to
1dca148
Compare
Signed-off-by: Tonis Tiigi <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
Signed-off-by: Tonis Tiigi <[email protected]>
Signed-off-by: Tonis Tiigi <[email protected]>
Signed-off-by: Tonis Tiigi <[email protected]>
Signed-off-by: Tibor Vass <[email protected]>
1dca148 to
4a40f92
Compare
abhi
approved these changes
Aug 20, 2018
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.
Changes the default network used by buildkit to libnetwork bridge and enables
--network=hostand--network=none. Frontends have the capability to set networking modes per-command.depends on moby/buildkit#560
@fcrisciani @abhi
EDIT: Related to moby/buildkit#583 and #37676