Skip to content

Conversation

@mendsley
Copy link

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
Author

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

If arguments fail to parse, continue without additional endpoint
configuration.
@mendsley mendsley requested a review from riverar April 9, 2025 06:20
@mendsley
Copy link
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