pierre-emmanuelJ / iptv-proxy

Reverse proxy on iptv m3u and m3u8 file and xtream codes client api
GNU General Public License v3.0
508 stars 150 forks source link

Adding custom MAC address to docker container. #100

Closed erdkse closed 2 years ago

erdkse commented 3 years ago

Hey, could you please create an environment value to set desired mac address to running eth0 of the docker interface?

My Go knowledge is not enough to do that otherwise I would send a PR.

pierre-emmanuelJ commented 2 years ago

Hi,

You can run your container with the flag --mac-address and assign the MAC address you want.

See the docker-compose doc to use in there.