Fix DNS resolution issues in Docker when running in LXD containers#33
Open
rahulssv-ibm wants to merge 1 commit intoIBM:mainfrom
Open
Fix DNS resolution issues in Docker when running in LXD containers#33rahulssv-ibm wants to merge 1 commit intoIBM:mainfrom
rahulssv-ibm wants to merge 1 commit intoIBM:mainfrom
Conversation
| echo 'ACTION=="add", SUBSYSTEM=="module", KERNEL=="nf_conntrack", RUN+="/usr/sbin/sysctl net.netfilter.nf_conntrack_tcp_be_liberal=1"' | tee -a $netfilter_rule | ||
| echo 'ACTION=="add", SUBSYSTEM=="module", KERNEL=="nf_conntrack", RUN+="/usr/sbin/sysctl net.netfilter.nf_conntrack_tcp_loose=1"' | tee -a $netfilter_rule | ||
|
|
||
| # Disable netfilter on bridge to prevent DNS issues in Docker (especially in LXD containers) |
Member
There was a problem hiding this comment.
Should we check to make sure this is only applied to LXD environment?
There was a problem hiding this comment.
also should these changes be applicable to z runners as well ? or just power ?
Collaborator
Author
There was a problem hiding this comment.
Though it resolves DNS issue, but disabling bridge-nf-call-*tables will affect Kubernetes workflows as they rely on bridge-nf-call-iptables=1. Hence reverting this changes.
1190a39 to
cfc2dbc
Compare
…servers Signed-off-by: Rahul Vishwakarma <Rahul.Vishwakarma2@ibm.com>
20bb9c9 to
7d07b5e
Compare
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.
This pull request enhances network configuration and resolves DNS issues in Docker, particularly when running in LXD containers. The changes include additional netfilter connection tracking settings, disabling bridge netfilter to prevent DNS problems, and configuring fallback DNS servers in Docker daemon.