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[0000] 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?

  • docker-compose setup doesn't allow container to connect to redis
  • docker-compose: define mount for bind mount and managed mount
  • How to execute non-global npm binary in docker
  • Start up script fails with error “-e: invalid option”, what is missing?
  • Graylog container cannot connect to MongoDB container
  • Remote selenium on Docker does not handle Javascript correctly
  • 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.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.