this post was submitted on 03 Jul 2023
553 points (97.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54500 readers
795 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

period

you are viewing a single comment's thread
view the rest of the comments
[–] skillissuer@lemmy.world 6 points 1 year ago (2 children)

can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver

[–] Trebach@kbin.social 3 points 1 year ago

I believe so as long as your VM has an IP address reachable by the devices you want to use it for.

I'm not sure if you'd want to employ it as your DHCP server though. You may get a chicken and the egg problem there.

[–] ChoadPuncher@lemmy.world 2 points 1 year ago (2 children)

It was originally developed to run on a raspberry pi so most installers are Linux based. There is no installer for windows but you could run pinole on Docker Desktop in a VM.

[–] MrEUser@lemmy.ninja 5 points 1 year ago (2 children)

If you’re running it using Docker, that’s a container not a VM. And that IS the way you would want to run it, in a container. They’re easy to set up, easy to use, and easy to maintain.

[–] ChoadPuncher@lemmy.world 4 points 1 year ago

I meant you could run pihole as a container in docker on a windows VM if you really wanted to. Personally I run it on a docker instance and also on a dedicated LinuxVM on a seperate host for redundancy, but that's probably overkill.

[–] ABluManOnLemmy@feddit.nl -1 points 1 year ago (1 children)

Yeah but Docker Desktop uses a VM, either in WSL2 or Hyper-V. Docker Engine on Linux doesn't use a VM and that's what's typically used for hosting services.

[–] MrEUser@lemmy.ninja 3 points 1 year ago (1 children)

The way, what was stated, was stated, indicated that docker runs virtual machines. It doesn't. It runs containers, right?

[–] ABluManOnLemmy@feddit.nl 1 points 1 year ago (1 children)

Docker is a container platform. Docker Engine is the container host for Linux and Docker Desktop uses a virtual machine to run Docker Engine and containers in that VM.

For example, if you use Docker Desktop on Windows, Docker Desktop will run Docker Engine in a WSL2-based VM and then run containers inside that.

[–] MrEUser@lemmy.ninja 3 points 1 year ago (1 children)

First, stop talking to me like I don’t know this already. Second, these facts don’t make me wrong or you right. The implication of what was said is that you run VM’s on docker. The fact is, you don’t. Stop arguing.

[–] ChoadPuncher@lemmy.world 1 points 1 year ago (1 children)

can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver

Ok, so what I was trying to say was this...

Dude does most of their work out of a VM rather than the host, and asks if they can also run pihole in that VM. I was trying to say "yeah, but it's a Linux app so either run docker from within the VM itself and run it as a container or spin up another separate VM"

But I agree. Not argument-worthy. There's no grounds for ackchyually-ing here.

[–] MrEUser@lemmy.ninja 1 points 1 year ago

Makes complete sense. Thank for clarifying.

[–] skillissuer@lemmy.world 1 points 1 year ago

i'll just spin up another debian vm then