-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
nerdctl: 0.4.0 -> 0.5.0 #109938
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
nerdctl: 0.4.0 -> 0.5.0 #109938
Conversation
Thanks for packaging this. The dependency on CNI isolation plugin is optional, not a hard dependency, |
No problem, glad to
Would you need to specify |
No, when |
Is this a packaging issue, or something new in nerdctl v0.5.0 ? |
Might be from a previous version. Its not in the path ATM and was working before. I think I just ran containerd without runc in the path 🤦♂️ |
Ok yeah running
The stargz converted image worked fine.
I'm happy for this to be merged as it's working perfectly. Once isolation is added to plugins that'll magically start to work fully too. |
Result of 1 package built:
|
Motivation for this change
Bump nerdctl to
0.5.0
https://github.com/AkihiroSuda/nerdctl/releases/tag/v0.5.0
nerdctl has added a couple new features. Converting an image into the stargz format and running it worked fine.
It now optionally requires a new isolation plugin which isn't upstream in cni-plugins yet. containernetworking/plugins#573
But it's just a warning
WARN[0001] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
I think it's highly likely it'll be merged in soon so I'm happy to wait for the next release of cni-plugins to merge this rather than packaging it separately and creating a new cni-plugins + cni-isolation-plugin dir.Since it works perfectly without the plugin I'm happy to merge now. Once the plugin is added upstream it will begin to work without any changes.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)