I think part of the eventual solution would be to use `GetV4orV6AddressForInterface`.
But container networking (see container/lxd/network.go) is set up to ensure that the LXD bridge only uses IPv4, so a controller inside a container could not access the service via IPv6 anyway.
I think part of the eventual solution would be to use `GetV4orV6Addre ssForInterface` .
But container networking (see container/ lxd/network. go) is set up to ensure that the LXD bridge only uses IPv4, so a controller inside a container could not access the service via IPv6 anyway.