-
Notifications
You must be signed in to change notification settings - Fork 584
Closed
Copy link
Labels
networkIssues and features associated with networking and DNS.Issues and features associated with networking and DNS.nextItems in scope for the next few milestonesItems in scope for the next few milestones
Milestone
Description
Feature or enhancement request details
Problem
Currently, there is no way to specify a custom MAC address for a container's network interface and the MAC address is auto-generated by the system.
Proposed Solution
Add a --mac-address flag to container run and container create commands:
container run --mac-address AA:BB:CC:DD:EE:FF ubuntu
container create --mac-address AA:BB:CC:DD:EE:FF --name mycontainer ubuntu
The flag would:
- Accept standard MAC address format:
XX:XX:XX:XX:XX:XX(with : or - separators) - Validate the MAC address format before creating the container
- Apply to the first network interface
- Be optional (current auto-generation behavior preserved when not specified)
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
networkIssues and features associated with networking and DNS.Issues and features associated with networking and DNS.nextItems in scope for the next few milestonesItems in scope for the next few milestones