July 29, 2025Jul 29 I have the Docker custom network type setting set to macvlan. On the container settings in the Extra Parameters field I have --mac-address=xx:xx:xx:xx:xx:xxWhen I start the container it works exactly as expected. It connects to my network using the mac address I requested. Great. But if I reboot the server, or stop and then restart docker, or just stop and restart the container it will go back to using a random mac address.To get it to return to using the specified mac address I have to edit the container and make a meaningless change. I usually add or remove a space from the Extra Parameters field. Then when I save the container and it restarts it will use the specified Mac address until the next time the container boots.Is this a bug that will be fixed in an upcoming release or am I doing something wrong? This started happening when I upgraded from 7.1.4 from 7.0. Edited July 29, 2025Jul 29 by ibitio
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.