Skip to content

support .conflist CNI configs - #3029

Merged
tonistiigi merged 1 commit into
moby:masterfrom
vito:cni-conflist
Aug 20, 2022
Merged

support .conflist CNI configs#3029
tonistiigi merged 1 commit into
moby:masterfrom
vito:cni-conflist

Conversation

@vito

@vito vito commented Aug 16, 2022

Copy link
Copy Markdown
Contributor

πŸ‘‹ 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