Docker PiHole Persistence - post_main.d/start_pi_hole.sh Error
I finally got PiHole to run in a docker after resetting docker and using the updated yaml file. But once I reboot the firewalla the pihole doesn't appear to be accessible on network until I reset docker and start again. I'm not really sure how to troubleshoot this particular issue, Pihole is currently running as I've reset it so maybe that is reason for this error but if I 'sh start_pi_hole.sh' then I get this output...
root@firewalla:/home/pi/.firewalla/config/post_main.d# sh start_pi_hole.sh
Failed to start docker\x0d.service: Unit docker\x0d.service not found.
' is unknown Syntax error: typename 'hash:net
' is invalid as numberror: '24
' is unknown Syntax error: typename 'hash:net
' is invalid as numberror: '24
The contents of the file are taken from the Gold instructions for persistence...
sudo systemctl start docker
sudo ipset create -! docker_lan_routable_net_set hash:net
sudo ipset add -! docker_lan_routable_net_set 172.16.0.0/24
sudo ipset create -! docker_wan_routable_net_set hash:net
sudo ipset add -! docker_wan_routable_net_set 172.16.0.0/24
sudo systemctl start docker-compose@pi-hole
Please sign in to leave a comment.
Comments
0 comments