Skip to content

Conversation

@mendsley
Copy link
Member

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
If arguments fail to parse, continue without additional endpoint
configuration.
@mendsley mendsley merged commit a90205b into master Nov 22, 2024
4 checks passed
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