Currently I'm using the following command to start a container with a predefined mac address:
docker run -d --lxc-conf="lxc.network.hwaddr=00:50:56:8E:8B:77:00:00" --name=my_container my_image
I'd like to know if there was a way to define the mac address of a container declared in a docker-compose.yml file.
Thanks