Skip to content
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

support .conflist CNI configs #3029

Merged
merged 1 commit into from
Aug 20, 2022
Merged

support .conflist CNI configs #3029

merged 1 commit into from
Aug 20, 2022

Conversation

vito
Copy link
Contributor

@vito vito commented Aug 16, 2022

👋 I'm using Buildkit's CNI support in a project of mine and found that I need to additionally configure the firewall plugin, otherwise starting Docker seems to break network connectivity.

Configuring this plugin requires me to switch to a "chained CNI config" which is a special type of config:

  • it has to be named .conflist in order for cnitool to recognize it as one
  • it has to be passed to go-cni using cni.WithConfListFile rather than cni.WithConfFile

I opted to double down on cnitool's behavior here to keep the distinction from bubbling up to separate fields in buildkitd.toml, but I'm happy to do that instead.

Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
@tonistiigi tonistiigi merged commit cdd7d20 into moby:master Aug 20, 2022
@vito vito deleted the cni-conflist branch August 23, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants