8
When should i set up a VM for pi-hole?
(lemmy.dbzer0.com)
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
I have some old mini-PC in my living room that's running a hypervisor and a few VMs. One of those VMs is used for pihole. I used docker and docker compose for this.
My
docker-compose.yamlis a little more fancy than that because I deploy it via GitLab CI, but here's the kind of config you can expect:I mostly copy-pasted that from the official pihole docker compose quick-start example.
To update, you would just need to run the following in the same directory as the
docker-compose.ymlfile.If pihole is the only thing you really want to run, a new machine and hypervisor are too much for just that. If ad-free surfing is all you want, you can just get a raspberry pi and setup pihole on that thing. You can still use docker compose, as the pihole images are available for ARMv6, ARMv7 and ARM64.
That sounds good, ty for the links, I'll give it a try