Why doesn't docker accept non-local MAC addresses?
If I run
docker run --mac-address=00:16:3E:08:00:50 ubuntu ifconfig I get the error
setup networking set eth0 mac Incorrect Local MAC Address specified: 00:16:3e:08:00:50FATA Error response from daemon: Cannot start container 37569a756349235c2f669989d47bf2495f5adc2ecbe1768038ae4ca050ceeaae: setup networking set eth0 mac Incorrect Local MAC Address specified: 00:16:3e:08:00:50
Activate anaconda environment within docker container Dockerfile volume with database - using volume for mutable user-servicable parts Cannot start rabbitmq-server in docker container, how to write this Dokcerfile? sending email to smtp server in docker Ran out of Docker disk space How to see which docker volume is or was being used by which container
From https://github.com/docker/docker/blob/master/vendor/src/github.com/docker/libcontainer/netlink/netlink_linux.go#L528 I see that docker doesn’t accept non-local MAC addresses. Why is that not allowed?
One Solution collect form web for “Why doesn't docker accept non-local MAC addresses?”
It is rejecting addresses which are not locally administered. Which seems fair, considering how much the IEEE charges for an OUI.