Does Pi-Hole work on WSL2?

WSL2

I tried to run Pi-Hole on WSL1 a while ago on Win10 1809 but it didn't work.

I think because it couldn't open port 80 or something.

It's also not supported officially.

But I was wondering if WSL2 has improved enough to make it work now?

Edit: I guess not. Got the same error as last time:

System has not been booted with systemd as init system (PID 1). Can't operate.

It seems it won't work until this issue is resolved: https://github.com/microsoft/WSL/issues/994

Posted Sep 17, 2019, 7:19 PM UTC · edited

117
MegaPaulBlart•

why not just setting pihole up in a docker container?

7
hoserb2k•

Nope. It’s not supported by the developer. If you can afford it at all, get a cheap linux (maybe a raspberry pi) box to test it with.

Not trying to tell you what to do, but in my experience it’s gonna be a lot more fun to try to do this on a real linux platform and its very cheap.

2
G_Squeaker•

I have to agree here. Even the cheapest Pi Zero can run it just fine for home use.

2
fiveSE7EN•

Been using a Pi Zero W with pihole for years (iirc), it's great.

1
eaglejs•

I am currently running Pi-Hole on a raspberry pi myself. It runs alongside my VPN on the same machine. so Even when I am on the go, I have an ad blocker on my phone and laptop. :) I love it.

1
whtsnk•

Why do you want to install it on Windows?

Edit: I didn't mean to judge or challenge you. I just wanted to learn your desired use case.

-5
EternallyMiffed•

To route traffic through it?

1