0

I'm trying to set a specific mac address in docker using the following command but it's not working

docker run --lxc-conf="lxc.network.hwaddr=ec:g6:bb:98:9c:d3" -i -t 0d14

anyone see anything wrong with the command above ?

Noor
  • 19,638
  • 38
  • 136
  • 254
  • 1
    Did you see [this question](http://stackoverflow.com/questions/18479242/how-to-set-the-mac-address-for-docker-lxc-containers)? – Shawn Mehan Oct 22 '15 at 18:01
  • yeah, i'm saw it, i'm trying to figure how to pass the environment variable – Noor Oct 22 '15 at 18:54
  • -e lxc is not an environment variable it's an option for docker service in /etc/default/docker – WooDzu Oct 22 '15 at 21:20

0 Answers0