Hi
Just trying to setup PiHole within docker.
I've used this script...
#!/bin/bash
IMAGE=${1:-'diginc/pi-hole:alpine'}
NIC=${2:-'ens160'}
IP=$(ip addr show "$NIC" | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)
# Default ports + daemonized docker container
docker run -p 53:53/tcp -p 53:53/udp -p 80:80 \
--cap-add=NET_ADMIN \
-e ServerIP="$IP" \
--name pihole \
-d "$IMAGE"
Its running on ubuntu, within its own VM, under vmware 6.5.
In the logs I see...
==> /var/log/nginx/error.log <==
2016/12/07 10:15:53 [error] 304#304: *3 FastCGI sent in stderr: "PHP message: PHP Warning: max(): Array must contain at least one element in /var/www/html/admin/data.php on line 256
PHP message: PHP Warning: min(): Array must contain at least one element in /var/www/html/admin/data.php on line 257
PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/admin/data.php on line 263" while reading response header from upstream, client: 192.168.30.20, server: , request: "GET /admin/api.php?overTimeData HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.20.193", referrer: "http://192.168.20.193/admin/"
The admin screen comes up but just spins the refresh animation, the dns doesn't work with a client machine when I've tried.
Not really sure what to do next?