-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Rasperry Docker PiHole / "Starting lighttpd" Hanging #593
Comments
What is the exact |
|
That's not sufficient to start the container. Read through https://github.com/pi-hole/docker-pi-hole#quick-start for more information. |
I have started the docker with the given docker-compose.yaml with just the necessary tested system ubuntu 20.04 server Linux ubuntu 5.4.0-1006-raspi2 #6-Ubuntu SMP Mon Mar 16 13:08:46 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux |
Getting the same error. Pi-hole seems to work fine but the dashboard is not reachable Compose setup is: pihole:
image: pihole/pihole
container_name: pihole
restart: unless-stopped
domainname: ${PI_HOLE_VIRTUAL_HOST}
dns:
- 127.0.0.1
- 192.168.178.1
ports:
- "${IP}:53:53/tcp"
- "${IP}:53:53/udp"
- "67:67/udp"
- "8080:80
volumes:
- ${VOLUMEN_BASE_DIR}/pihole/data:/etc/pihole/
- ${VOLUMEN_BASE_DIR}/pihole/dnsmasq.d/:/etc/dnsmasq.d/
environment:
VIRTUAL_HOST: ${PI_HOLE_VIRTUAL_HOST}
WEBPASSWORD: ${PI_HOLE_WEBPASSWORD}
DNS1: 9.9.9.9
DNS2: 149.112.112.112 Error message:
EDIT: |
Same issue with a Raspberry Pi 4 on Ubuntu 20.04 64-bit using the default docker-compose example.
Running a privileged container as suggested above works but is not an elegant solution. |
Are you using ubuntu's docker SNAP? Uninstall and try the official install if so: edit: also unless your docker debian is arm64, you'll quite possibly have to still use armhf version of the docker. Docker will try to download the wrong on by default unless you call out armhf tag, the symptom you have this problem is you'll have a negative block list count in the web UI once everything runs. |
I am using the docker.io package from the Ubuntu repo which doesn't seem to be a SNAP as far as I can tell:
It also seems to be arm64:
The reason I am using this is because the focal release (20.04) isn't available from the official Docker repo yet:
Installing the eoan release (19.10) from the official Docker repo...
... yields the exact same errors as previously reported in unprivileged containers. |
I don't trust docker.io and there is no official support for docker on 20.04 - the work around seems to be using bionic's apt source repository on focal: https://askubuntu.com/a/1230190 |
Just tried with bionic, same behavior/errors. |
Something changed in Linux land, rather than Docker. The version of both There's reports of the same behaviour happening on Manjaro and Gentoo Both of those distributions are known for good 64-bit support on RPi. This unrelated forum question hints at a bug on L.E. seccomp/libseccomp#235 seems to be solving this. I'm hoping the updated version will be available soon. |
Hello, |
@NoSoloHacking Thanks for the tip. It does enable |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-runs-on-podman/34719/1 |
You are right however, I haven´t found any other way to achieve it. |
Probably very unnecessary to mention it, but i am experiencing the same issues on archlinux arm. on a not even one day old install. |
Update: The error also went away when running with |
I'd avoid running I believe that once all of the mainstream distros updated their upstream dependencies, this issue can be closed. |
I built my own libseccomp-2.4.4 package on Arch Linux Arm for aarch64 (really a libvirt KVM/Qemu aarch64 HVM) and it worked. I was able to start Pi-Hole rootless in podman using
Have to allow non-root to open ports 53, 67, 80 and 443:
|
@yozgatliahmed I think this was solved. |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-runs-on-podman/34719/6 |
As noted by @tanasegabriel in #593 (comment) this issue was addressed in seccomp/libseccomp#235 |
Closing this as resolved. Please let us know if you feel this should be reopened. |
modify use of getrlimit() to not be fatal if an error occurs Some container configurations might cause getrlimit() and setrlimit() to fail. lighttpd will issue error trace if this occurs, but will now proceed. x-ref: "aarch64: Use architecture specific header to general syscalls" seccomp/libseccomp#235 "Rasperry Docker PiHole / "Starting lighttpd" Hanging" pi-hole/docker-pi-hole#593 "Pi-hole runs on podman" https://discourse.pi-hole.net/t/pi-hole-runs-on-podman/34719/5
modify use of getrlimit() to not be fatal if an error occurs Some container configurations might cause getrlimit() and setrlimit() to fail. lighttpd will issue error trace if this occurs, but will now proceed. x-ref: "aarch64: Use architecture specific header to general syscalls" seccomp/libseccomp#235 "Rasperry Docker PiHole / "Starting lighttpd" Hanging" pi-hole/docker-pi-hole#593 "Pi-hole runs on podman" https://discourse.pi-hole.net/t/pi-hole-runs-on-podman/34719/5
For Arch Linux Arm, the patch for "aarch64: Use architecture specific header to general syscalls" was cherry-picked into libseccomp 2.4.2-1.1. |
Once the container opens port 53, etc. the privileged port range can adjusted higher again as that will not revoke the open ports. When saving and restoring |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-runs-on-podman/34719/9 |
This is a...
Description
I want Install PiHole and RainLoop as Docker
Expected Behavior
I Install fresh Raspian, activatet SSH and Install Docker.
And install Pihole "docker pull pihole/pihole"
Actual Behavior
Its hanging "Starting lighttpd"
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
Debug steps I have tried
docker rm pihole (=Error: No such container: pihole)
docker rmi pihole/pihole (=Error response from daemon: conflict: unable to remove repository reference "pihole/pihole" (must force) - container f2ec19c0a213 is using its referenced image 96082728873a)
docker run
example in the readme (removing any customizations I added)Your Environment
The text was updated successfully, but these errors were encountered: