Pi hole inside docker in raspberry pi 4 with openwrt question

I have recently been able to accomplish this with docker on OpenWRT x86 and using macvlan interface. The idea is to have PiHole container as if its attached to LAN and has an IP address of its own, this can be done using macvlan which is basically creating another virtual interface bridged to the physical interface of the LAN in OpenWRT.