Skip to content

feat: Use MAC address provided by nerdctl#110

Open
mendsley wants to merge 4 commits intomicrosoft:masterfrom
PlayEveryWare:mendsley/nerdctl_mac_address
Open

feat: Use MAC address provided by nerdctl#110
mendsley wants to merge 4 commits intomicrosoft:masterfrom
PlayEveryWare:mendsley/nerdctl_mac_address

Conversation

@mendsley
Copy link
Copy Markdown

The nerdctl --mac-address command line passes the address to the CNI plugin with the MAC arg.

See getCNINamespaceOpts:
https://github.com/containerd/nerdctl/blob/main/pkg/containerutil/container_network_manager_windows.go#L184-L186

The nerdctl `--mac-address` command line passes the address to the CNI
plugin with the `MAC` arg.

See `getCNINamespaceOpts`:
https://github.com/containerd/nerdctl/blob/main/pkg/containerutil/container_network_manager_windows.go#L184-L186
@mendsley
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="PlayEveryWare"

If arguments fail to parse, continue without additional endpoint
configuration.
Comment thread common/core/network.go Outdated
Comment thread cni/cni.go Outdated
@mendsley mendsley requested a review from riverar April 9, 2025 06:20
@mendsley
Copy link
Copy Markdown
Author

mendsley commented May 2, 2025

CC @mdebjit for thoughts on this

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