docker-pi-hole VS log2ram

Compare docker-pi-hole vs log2ram and see what are their differences.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
docker-pi-hole log2ram
204 51
8,890 2,694
1.6% 1.0%
5.6 5.3
8 days ago 4 months ago
Shell Shell
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-pi-hole

Posts with mentions or reviews of docker-pi-hole. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-14.
  • Running Nextcloud on TrueNAS behind Nginx Reverse Proxy
    4 projects | dev.to | 14 Dec 2024
    Pi-hole (Docker Tag 2024.07.0 Pi-hole v5.18.3 FTL v5.25.2 Web Interface v5.21) configuration
  • Problem - Pi-Hole not getting many DNS requests
    2 projects | /r/pihole | 10 Jul 2023
    Yesterday I deployed the official pi hole docker container on my raspberry pi 3 and set a custom DNS address on my phone addressing to the pi.
  • Help with container seeing gateway as the return address
    1 project | /r/docker | 17 May 2023
    #pihole   pihole:     container_name: pihole     image: pihole/pihole:latest     ports:       - target: 53         published: 53         protocol: tcp         mode: host       - target: 53         published: 53         protocol: udp         mode: host       - "67:67/udp"       - "8070:80/tcp"       - "8073:443/tcp"     environment:       TZ: 'America/Indianapolis'       WEBPASSWORD: #'TEMP_PASSWORD' #'set a secure password here or it will be random'       WEBPASSWORD_FILE: '/etc/pihole/adminpw.txt'     # Volumes store your data between container upgrades     volumes:       - '~/pihole/etc-pihole:/etc/pihole'       - '~/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'     #   https://github.com/pi-hole/docker-pi-hole#note-on-capabilities     cap_add:       - NET_ADMIN # Recommended but not required (DHCP needs NET_ADMIN)     #network_mode: host     restart: unless-stopped     #UPTIME KUMA   uptime_kuma:     image: louislam/uptime-kuma:1     container_name: uptime-kuma     volumes:      - uptime-kuma:/app/data     ports:      - 8060:3001     restart: always
  • No internet access for containers co-hosted with pihole
    6 projects | /r/docker | 13 May 2023
    version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ networks: dns_net: driver: bridge ipam: config: - subnet: 10.2.0.0/24 services: pihole: depends_on: [unbound] container_name: pihole image: pihole/pihole:latest hostname: pihole networks: dns_net: ipv4_address: 10.2.0.100 ports: - "5335:53/tcp" - "5335:53/udp" - "7000:80/tcp" environment: TZ: ${TZ} WEBPASSWORD: ${PWD} FTLCONF_LOCAL_IPV4: ${HOST_IP} # Set to server's LAN IP, used by web block modes. PIHOLE_DNS_: 10.2.0.200 # Upstream DNS server(s) for Pi-hole to forward queries to, separated by a semicolon DNSMASQ_LISTENING: all # "Listen on all interfaces, permit all origins" # Volumes store your data between container upgrades volumes: - /var/lib/docker/volumes/pihole/etc-pihole:/etc/pihole - /var/lib/docker/volumes/pihole/etc-dnsmasq.d:/etc/dnsmasq.d healthcheck: disable: true restart: unless-stopped unbound: # https://github.com/MatthewVance/unbound-docker container_name: unbound image: mvance/unbound:latest hostname: unbound networks: dns_net: ipv4_address: 10.2.0.200 ports: - "${HOST_IP}:53:53/udp" - "${HOST_IP}:53:53/tcp" healthcheck: disable: true restart: unless-stopped
  • Synology/MACVLAN/BRIDGE help
    2 projects | /r/synology | 9 May 2023
    services: pihole: container_name: pihole image: pihole/pihole:latest hostname: pihole # Container hostname (optional) domainname: mynetwork.local # Container domain (optional) mac_address: f7:55:63:b0:68:83 # Random MAC address (optional) networks: virtualnet: # Name of macvlan ipv4_address: 192.168.100.249 # Desired IP for pihole dns: - 127.0.0.1 - 1.1.1.1 ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "80:80/tcp" - "443:443/tcp" volumes: - ./pihole-configs/:/etc/pihole/ - ./dnsmasq.d-configs/:/etc/dnsmasq.d/ # DNSMASQ_USER # https://github.com/pi-hole/docker-pi-hole/issues/963 # https://github.com/pi-hole/docker-pi-hole/blob/master/README.md#upgrade-notes environment: FTLCONF_LOCAL_IPV4: 10.59.0.6 # Desired IP for pihole VIRTUAL_HOST: pihole.mynetwork.local DNSMASQ_USER: root PIHOLE_DNS_: 1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001 restart: unless-stopped # Set container to always restart
  • Need a totally updated guide for setting up pi-hole on Synology DSM 7.1.1+
    2 projects | /r/pihole | 6 May 2023
  • How does one create an OS image for Jetson Nano B01 4GB for Ubuntu 23.04?
    1 project | /r/JetsonNano | 27 Apr 2023
    You could have a look at docker and try to run a more recent Ubuntu image on the Nano https://github.com/pi-hole/docker-pi-hole
  • Error Question
    1 project | /r/pihole | 23 Apr 2023
    My advice would be either use the docker-pi-hole documentation/quick start, or contact the content creator.
  • Phiole in docker
    1 project | /r/pihole | 18 Apr 2023
  • PiHole via docker compose on a Proxmox VM having issue with DNS on the VM
    1 project | /r/pihole | 15 Apr 2023

log2ram

Posts with mentions or reviews of log2ram. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-27.
  • Follow-up on the earlier "Why Proxmox VE shreds your SSDs" – with details
    1 project | news.ycombinator.com | 20 Dec 2024
    But stuff like /var/lib/pve-firewall and /var/lib/rrdcached was still written to every second.

    I played around with mount options like commit=n

    It kind of helped to use log2ram:

    https://github.com/azlux/log2ram

    but it sure didn't eliminate the problem.

    I think with a little effort from the proxmox guys, They could gather a lot of low-hanging fruit.

  • Raspberry Pi 5
    13 projects | news.ycombinator.com | 27 Sep 2023
    Reducing logging, logging to ram and writing to the sdcard once a day helps longevity a lot, especially with quality sd cards.

    99% of the time it's the verbose logging of application servers that is the culprit of sdcard failures.

    https://github.com/azlux/log2ram

  • Pihole Regular Maintenance and Performance
    3 projects | /r/pihole | 7 Jun 2023
  • Using old MicroSD on RPi for PiHole, any issues?
    1 project | /r/pihole | 19 Apr 2023
  • Interesting M.2 devices for the HomeLabs
    1 project | /r/HomeServer | 22 Jan 2023
    I always use this: https://github.com/azlux/log2ram
  • My remote Pi for my ADSB is going bad
    3 projects | /r/raspberry_pi | 26 Dec 2022
    If you've got other issues then it's quite likely that lots of small writes from logging and similar has worn out the SD card, mounting the SD card as read only or installing log2ram could prevent it happening to another SD card.
  • EsPiFF: An ESP32 in the Raspberry Pi form factor
    4 projects | news.ycombinator.com | 18 Dec 2022
    > writing permanent its log files and swap partition

    If this is the problem, the solutions are no swap and log2ram https://github.com/azlux/log2ram

    I also noticed that Armbian logs to a ramdisk. I didn't investigate the implementation and if its contents survive a reboot.

    The only real problems for me are that the SD card will eventually fail no matter what (I mean, much sooner than a SDD or HDD) and that there are basically no Pis at sale at a reasonable price. As a platform it is nearly dead.

  • Can My I5 2300(12GB RAM) Server Handle This Workload
    1 project | /r/Proxmox | 7 Nov 2022
    For Pi-hole, I have an Rpi Zero with $10 Usb-to-Ethernet adapter, SD-card barely written (with Log2Ram) to avoid wear. Running about 3 years now almost unattended (besides security updates).
  • I finally found an use case for my Raspberry Pi Model B+
    5 projects | news.ycombinator.com | 1 Nov 2022
    In addition to the other helpful suggestions you’ve received, look into using Log2Ram. It does what it sounds like, puts log writes in ram and then writes them to disk on a slower cadence that doesn’t work your SD card that much.

    https://github.com/azlux/log2ram

  • Reduce disk writes for Ubuntu, save your USB stick
    1 project | dev.to | 31 Oct 2022
    Log files are a bit trickier. I want these to stick around between reboots, so just storing them on a ramdisk wouldn't really work. Thankfully, log2ram solves this problem. Written primarily for Raspberry Pi machines, it works fine on x86-64 laptops. This stores /var/log in RAM but will sync the contents to disk from time to time, ideal for our needs.

What are some alternatives?

When comparing docker-pi-hole and log2ram you can also consider the following projects:

Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface

folder2ram - mount those folders to ram without losing access to their counterpart on disk!

docker-pihole-unbound - Run Pi-Hole + Unbound on Docker

zram-init - A wrapper script for the zram linux kernel module with zsh and openrc support

crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.

PiShrink - Make your pi images smaller!

watchtower - A process for automating Docker container base image updates.

rpi-clone - A shell script to clone a booted disk.

gravity-sync - 💫 The easy way to synchronize the DNS configuration of two Pi-hole 5.x instances.

DNS - Emerald Onion's Encrypted DNS Resolver

caddy-docker-proxy - Caddy as a reverse proxy for Docker

DietPi - Lightweight justice for your single-board computer!

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Shell is
the 11th most popular programming language
based on number of references?