Closed arminzaugg closed 1 year ago
Does it work with not starting with sudo, but just on your raspberry pi4: docker-compose up -d ? As I have never used sudo when doing a docker-compose up.
Good point. No, running docker-compose up
was the first command I tried, also using the exact compose and .env file from the example in this repo.
I later tried the same command with sudo and started messing around with the compose file, but without any luck. I always get the following error as mentioned above.
pihole | s6-svscan: warning: unable to iopause: Operation not permitted
pihole | s6-svscan: warning: executing into .s6-svscan/crash
pihole | s6-svscan crashed. Killing everything and exiting.
pihole | s6-linux-init-hpr: fatal: unable to reboot(): Operation not permitted
pihole exited with code 111
Is this maybe a duplicate to https://github.com/chriscrowe/docker-pihole-unbound/issues/160? Am I supposed to change anything when running the one-container on a raspberry?
happy x-mas to you all btw :)
Could you post your docker-compose.yml file?
Sure. My compose file should match with the example, I only adjusted the .env file with other values.
version: '3.0'
services:
pihole:
container_name: pihole
image: cbcrowe/pihole-unbound
hostname: ${HOSTNAME}
domainname: ${DOMAIN_NAME}
ports:
- 443:443/tcp
- 53:53/tcp
- 53:53/udp
- ${PIHOLE_WEBPORT:-80}:80/tcp #Allows use of different port to access pihole web interface when other docker containers use port 80
# - 5335:5335/tcp # Uncomment to enable unbound access on local server
# - 22/tcp # Uncomment to enable SSH
environment:
- FTLCONF_LOCAL_IPV4=${FTLCONF_LOCAL_IPV4}
- TZ=${TZ:-UTC}
- WEBPASSWORD=${WEBPASSWORD}
- WEBTHEME=${WEBTHEME:-default-light}
- REV_SERVER=${REV_SERVER:-false}
- REV_SERVER_TARGET=${REV_SERVER_TARGET}
- REV_SERVER_DOMAIN=${REV_SERVER_DOMAIN}
- REV_SERVER_CIDR=${REV_SERVER_CIDR}
- PIHOLE_DNS_=127.0.0.1#5335
- DNSSEC="true"
- DNSMASQ_LISTENING=single
volumes:
- /home/pi/dockervolumes/unboundedpihole/etc_pihole-unbound:/etc/pihole:rw
- /home/pi/dockervolumes/unboundedpihole/etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw
restart: unless-stopped
My issue is related to Debian Buster on Raspberry as described here - https://github.com/pi-hole/docker-pi-hole/issues/1194. I can confirm that the issue is resolved using a a bullseye base image.
I am unable to spin up the one container solution on my raspberry pi gen4. Running sudo docker-compose up results in the following output with errors:
Can somebody help me with that?