IP docker pihole

Hello,
I entered server IP of my pi3 192.168.1.98 into sh script, but admin console and everything else is in docker IP 172.17.0.2
What did I do wrong?

When your LAN IPs don't show up correctly in docker bridge mode you can have better luck getting that working with Bridge or MACVLan modes as described on this page: Docker DHCP and Network Modes - Pi-hole documentation