pihole-ads-catcher icon indicating copy to clipboard operation
pihole-ads-catcher copied to clipboard

Any way to run it on docker pi-hole ?

Open pebdev opened this issue 6 years ago • 2 comments

Any way to run it on docker pi-hole ?

Originally posted by @ufo56 in https://github.com/pebdev/pihole/issues/6#issuecomment-485921121

pebdev avatar Apr 24 '19 18:04 pebdev

I do not have enough knowledge on this topic (I just use docker for my cross-compiler environments, without init needs like this), so I can't answer you for the moment.

pebdev avatar Apr 25 '19 19:04 pebdev

Hi,

i have successfully installed it in a docker container. But there is a general problem in functionality:

root@a54ad77298c7:/var/log#` cat ads-catcher-blacklister.log 
[Sun Jul  7 11:22:12 CEST 2019] ads-catcher-blacklister
sed: -e expression #1, char 7: invalid usage of line address 0
sed: -e expression #1, char 24: Invalid range end
sed: -e expression #1, char 24: Invalid range end
root@a54ad77298c7:/var/log# cat ads-catcher-unlocker.log 
sed: -e expression #1, char 24: Invalid range end
sed: -e expression #1, char 24: Invalid range end
sed: -e expression #1, char 24: Invalid range end
sed: -e expression #1, char 24: Invalid range end

Is there any solution for this? Flush the log files?

EDIT: flushing didn't help, i think its a regex issue.

adshrc avatar Jul 07 '19 09:07 adshrc