mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
dbf8c79270
* Add a script to update your pihole container * Add instructions for upgrading your pihole container Co-authored-by: Jon Stroud <jon.stroud@keysight.com>
18 lines
500 B
Bash
Executable File
18 lines
500 B
Bash
Executable File
podman pull pihole/pihole:latest
|
|
podman stop pihole
|
|
podman rm pihole
|
|
podman run -d --network dns --restart always \
|
|
--name pihole \
|
|
-e TZ="America/Chicago" \
|
|
-v "/mnt/data/etc-pihole/:/etc/pihole/" \
|
|
-v "/mnt/data/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/" \
|
|
--dns=127.0.0.1 \
|
|
--dns=1.1.1.1 \
|
|
--dns=1.0.0.1 \
|
|
--hostname pi.hole \
|
|
-e VIRTUAL_HOST="pi.hole" \
|
|
-e PROXY_LOCATION="pi.hole" \
|
|
-e ServerIP="10.0.5.3" \
|
|
-e IPv6="False" \
|
|
pihole/pihole:latest
|