Using version 6.10.3
Container disappears after reboot. If you try to start manually it shows: No such container
Compose used:
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
# Listas em https://firebog.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
- "8082:80/tcp"
environment:
TZ: 'America/Maceio'
WEBPASSWORD: 'admin'
# FTLCONF_LOCAL_IPV4: '10.0.0.2'
PIHOLE_DNS_: '8.8.8.8;8.8.4.4'
# Volumes store your data between container upgrades
volumes:
- '/mnt/user/appdata/pihole/pihole:/etc/pihole'
- '/mnt/user/appdata/pihole/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: "br0"
restart: always
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.