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
Rails 5 Regular Tasks Without Cron Browsersync within a Docker container View logs for all docker containers simultaneously Docker - how can I copy a file from an image to a host? IBM Bluemix erroring when creating volumes via docker-compose up Docker and Vagrant connection
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.