-
-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PADD Docker? #148
Comments
You can create the file and put @dschaper Now that PADD is under the Pi-hole namespace, maybe we can just include it in the official container? |
Thanks for the reply. Changed but now get another error... ./padd.sh: line 118: ftl_port: Servname not supported for ai_socktype GetFTLData() { Get FTL port numberftl_port=4711 Did we find a port for FTL?if [[ -n "ftl_port" ]]; then |
Try maybe something like
you accidentally removed a |
Also if I'm not mistaken you'll need to expose port 4711 on the docker container. What does your compose file / docker run look like? |
Sorry i'm not that good with this so any change to explain where i can find this compose file? Changed the code like DL6ER say and now i got indeed a connection refused error. ./padd.sh: connect: Connection refused |
What I mean is, how did you start the docker container? I'm guessing, from context, that you ran a command like |
I used this guide and so used portainer to install it. :) |
It won't run in a separate docker container. You have to have access to the socket in the |
Sure, we could. I don't know how useful it would be since it needs a terminal and most of the time docker is not started with an interactive terminal. I guess you could |
Example using a Pi with an attached display (pimoroni hyperpixel4 in my case). OS is Raspberry Pi OS Lite, 64-bit.
sudo systemctl edit getty@tty1 Add: [Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin your_username --noclear %I $TERM
if [ "$(tty)" = "/dev/tty1" ] && [ -z "$SSH_CONNECTION" ]; then
docker exec -it pihole /usr/local/bin/padd
fi |
Hi,
Is there any solution using PADD if Pihole is running in a container? I keep getting a error...
cat: /var/run/pihole-FTL.port: No such file or directory
The text was updated successfully, but these errors were encountered: