chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.07k stars 282 forks source link

Feature Request - Support for Gravity Sync #116

Closed bioszombie closed 2 years ago

bioszombie commented 2 years ago

Gravity Sync https://github.com/vmstan/gravity-sync/wiki/System-Requirements

From their wiki:

What is better than a Pi-hole blocking trackers, advertisements, and other malicious domains on your network? That's right, two Pi-hole blocking all that junk on your network!

Seriously. Why two Pi-hole? But if you have more than one Pi-hole in your network you'll want a simple way to keep the list configurations and local DNS settings identical between the two. That's where Gravity Sync comes in. With proper preparation, it should only take a few minutes to install. Ideally you setup Gravity Sync and forget about it -- and in the long term, it would be awesome if the Pi-hole team made this entire script unnecessary.

I have two containerized Pi-Hole installations on their own raspberry pi. I would like to be able to sync my secondary pi to the primary using gravity sync. Per the system requirements Gravity Sync will run on the host machine not inside the container. When running their installer it does not detect the pi-hole instance.

chriscrowe commented 2 years ago

Given that this runs on the host and not in the container this looks to be out of scope for this project.

bioszombie commented 2 years ago

Possibly. From the site:

Containerized Pi-hole

  • Your Pi-hole installs can be a Docker container deployment as of Gravity Sync 3.1.
  • Support for Podman as a container engine has been introduced starting in Gravity Sync 3.3.
  • Gravity Sync will run directly on the host OS, and not inside of the container image.
  • Only the official Pi-hole Docker image is supported.
  • In addition to the officially supported Linux distributions as outlined above, when using a container engine, host OS deployments on more container oriented distributions such as VMware Photon OS may be used, so long as they’re able to run the Gravity Sync specific requirements below.

Before I reach out for support can you confirm that you use the official docker image for pihole?

chriscrowe commented 2 years ago

This repo does not use the official pihole image, instead I'm building a new image based off the pihole image and installing the Unbound packages (thus the point of this repo).