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
How does the onbuild directory work for the offical Rails docker image? Docker not showing logs written in /dev/stdout Strategy to persist the node's data for dynamic Elasticsearch clusters NodeJS: Can't connect to postgreSQL container from another container Docker-compose linking service into dockerfile Does Alpine Linux handle certs differently than Busybox?
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.