Docker pi-hole support for the MIPS archetecture?

I recently discovered that docker pihole doesn't support the MIPS architecture that my device uses and or the FTL engine. I know people have managed to run it before tho and this user https://www.reddit.com/r/pihole/comments/fnhfb8/pihole_for_mips_ci20/ managed to run it a few years ago (I don't care if I have to use an older version) so I was wondering if any of you guys had any idea how to make it work with docker?

I've posted this to multiple forums without any interactions so I'm really praying that someone here can give me an answer, even if it is that what I'm trying to do is impossible.

The problem with the FTL version you posted is 2.5 years old, based on a very old version (from 3.5 years ago).

The current pihole and web interface won't work with an old FTL version.

I think you will need to make changes and compile yourself.

could i be okay with an older version of pihole?

I really don't recommend.

I think it is impossible to explain what is different. There are so many changes and improvements.
Using that version would be like using a complete different software and we won't be able to provide support.

You would need to use the correct version for all 3 components (pihole core, FTL and web interface).

You can view and compare all changes here:


I know it's not easy to replace some devices, but do you really need to run pi-hole on this device?

Suggestion:
If you have another machine running 24x7 you can run pi-hole in a docker container.

thank you so much for you help, i kinda need this to work so I'll give it a try just for the sake of it.i feel like my only reasonable next the step would be rewriting a newer version to work.

If you were running a supported OS on your MIPS machine, you could try just compile the pihole-FTL binary yourself, see Install from source - Pi-hole documentation.

Building a Docker image for mips arch may be more diffcult to achieve.
Linux OSs on Docker seem to have no support for mips when checking for current releases like Ubuntu 22.04/Jammy or Debian 11/Bullseye
But then, maybe I did not look in all the right places. :wink:

there are debian docker containers that support Mips already working, my current plan is trying to set up the older version of ftl and pi-hole on this. would it be possible to compile pihole-ftl this way?

this is what i found: https://hub.docker.com/r/mips64le/debian

my os on the mips machine is running openWRT and its really just a router

Qoting from documentation as referenced by your link:

Other architectures built by official images: (but not officially supported by Docker, Inc.)
(...)

OpenWRT is not an OS supported by Pi-hole, and MIPS is not officially supported by Docker.
You'd have to try yourself.

In a resource-restricted system like a router, I'd probably drop Docker and try the binary compilation approach first.
Note that pihole-FTL is a tailored version of dnsmasq - an existing dnsmasq instance would conflict with Pi-hole.

Getting the OpenWRT community involved seems also like a good idea (but I guess you've already tried that).

is binary compilation as scary as it sounds?
i was plannnig on using mcvlan to bridge the networks, not have them as one. is dnsmasq still an issue? tbh ill just make a custom version of openwrt without dnsmasq.

Is this in relation to https://discourse.pi-hole.net/t/legal-inquiry-about-the-use/57456?

We have not given you any permission to use our trademarks or our copyrighted works in your endeavors.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.