Hello everyone,
so I was trying to install pi-hole using the docker compose given from the docker-pihole repository. The installation works perfectly until it tries to pull different configurations from github, and I don't understand why.
Here is the logs I get in the terminal from running the docker compose :
pihole |
pihole | fatal: unable to access 'https://github.com/pi-hole/pi-hole/': Failed to connect to github.com port 443: Network is unreachable
pihole | fatal: unable to access 'https://github.com/pi-hole/web/': Failed to connect to github.com port 443: Network is unreachable
pihole | fatal: unable to access 'https://github.com/pi-hole/FTL/': Failed to connect to github.com port 443: Network is unreachable
pihole | Pi-hole version is v5.18.3 (Latest: N/A)
pihole | web version is v5.21 (Latest: N/A)
pihole | FTL version is v5.25.2 (Latest: N/A)
pihole | Container tag is: 2024.07.0
When I ping google.com I can't reach it from the container, so I don't realy know what should be my next step, maybe i've missed somthing from the configuration but i don't see what ? Also, here is the exact docker compose file that i'm using if that help :
# 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
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp # Only required if you are using Pi-hole as your DHCP server
- 80:80/tcp
environment:
TZ: Europe/Paris
WEBPASSWORD: ${WEBPASSWORD}
# Volumes store your data between container upgrades
volumes:
- ./etc-pihole:/etc/pihole
- ./etc-dnsmasq.d:/etc/dnsmasq.d
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
I've also tried to get rid of the parts for dhcp since I don't think I'll need it, but it doesn't change anything