如果我运行docker run --mac-address=00:16:3E:08:00:50 ubuntu ifconfig
,我会收到错误
设置网络设置eth0 mac指定的本地MAC地址不正确:00:16:3e:08:00:50FATA [0000]守护程序的错误响应:无法启动容器37569a756349235c2f669989d47bf2495f5adc2ecbe1768038ae4ca050ceeaae:setup networking set eth0 mac指定的本地MAC地址不正确:00 :16:3E:08:00:50
从https://github.com/docker/docker/blob/master/vendor/src/github.com/docker/libcontainer/netlink/netlink_linux.go#L528我看到docker不接受非本地MAC地址。为什么不允许这样做?