This is my docker-compose.yml
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
- "443:443/tcp"
environment:
TZ: 'America/Los_Angeles'
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
# Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN
restart: unless-stopped
When I run sudo docker exec -it pihole /bin/bash
and then run pihole -r
I get:
root@2cb25b4ecc9f:/# pihole -r
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u8
--title Existing Install Detected! --menu \n\nWe have detected an existing install.\n\nPlease choose from the following options: \n(You will remain on the same version) 24 70 2 Repair This will retain existing settings Reconfigure This will reset your Pi-hole and allow you to enter new settings.
[✓] Disk space check
[✗] Checking apt-get for upgraded packages
Kernel update detected. If the install fails, please reboot and try again
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for dnsutils
[✓] Supported OS detected
[i] SELinux not detected
--msgbox --backtitle Welcome --title Pi-hole automated installer \n\nThis installer will transform your device into a network-wide ad blocker! 24 70
--msgbox --backtitle Plea --title Free and open source \n\nThe Pi-hole is free, but powered by your donations: https://pi-hole.net/donate/ 24 70
--msgbox --backtitle Initiating network interface --title Static IP Needed \n\nThe Pi-hole is a SERVER so it needs a STATIC IP ADDRESS to function properly.
In the next section, you can choose to use your current network settings (DHCP) or to manually edit them. 24 70
--separate-output --menu Select Upstream DNS Provider. To use your own, select Custom. 24 70 7 Google (ECS) OpenDNS (ECS) Level3 Comodo DNS.WATCH Quad9 (filtered, DNSSEC) Quad9 (unfiltered, no DNSSEC) Quad9 (filtered + ECS) Cloudflare Custom
[i] Using upstream DNS: ()
--separate-output --checklist Pi-hole relies on third party lists in order to block ads.\n\nYou can use the suggestions below, and/or add your own after installation\n\nTo deselect any list, use the arrow keys and spacebar 24 70 5 StevenBlack StevenBlack's Unified Hosts List on MalwareDom MalwareDomains on
--separate-output --checklist Select Protocols (press space to toggle selection) 24 70 2 IPv4 Block ads over IPv4 on IPv6 Block ads over IPv6 on
[i] IPv4 address:
[i] IPv6 address:
Error: Neither IPv4 or IPv6 selected
if I run ifconfig on my ubuntu server, this is my network interface:
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.7.8 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fe80::aaa1:59ff:fe1f:f832 prefixlen 64 scopeid 0x20<link>
ether a8:a1:59:1f:f8:32 txqueuelen 1000 (Ethernet)
RX packets 380278 bytes 290816088 (290.8 MB)
RX errors 0 dropped 4 overruns 0 frame 0
TX packets 133071 bytes 33096167 (33.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xa1200000-a1220000
any ideas?