I'd like to use IPv6 with my containers and I'm running into an issue with non-deterministic IPv6 addresses. If I add an IPv6 prefix to my containers bridge and advertise it, my containers properly use SLAAC to get an IPv6 address, and I can then use that address for container communication.
The issue is that if I ever have to recreate the veth interface, the container ends up with a new MAC address, and thus a new SLAAC address. I'd like it to be deterministic if at all possible.
So my question is either 1) Is there a way to set a static IPv6 address on a veth outside of the container (no as far as I can tell) or 2) Is there a way to manually specify a MAC address so the SLAAC address is always the same.
I know I can probably do it my creating my own Dockerfile/image, but I'd rather not do that for every one of my containers I want IPv6 connectivity for.