period

  • skillissuer@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

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

    • Trebach@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      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
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        1 year ago

        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
          link
          fedilink
          English
          arrow-up
          4
          ·
          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
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          3
          ·
          1 year ago

          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
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

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

            • ABluManOnLemmy@feddit.nl
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              2
              ·
              1 year ago

              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
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 year ago

                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
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  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.