Closed
Description
openedon Jan 4, 2022
This is a: Run Issue (running Pi-hole container failing),
Details
After watchtower pulled latest image, pi-hole docker will not start.
Related Issues
- I have searched this repository/Pi-hole forums for existing issues and pull requests that look similar
How to reproduce the issue
- Environment data
- Operating System: Linux Synology 4.4.180+ GNU/Linux synology_geminilake_920+
- Hardware: Synology DS920+
- Kernel Architecture: x86_64
- Docker Install Info and version:
- Software source: official docker
- Supplimentary Software: synology
- Hardware architecture: amd64
- docker-compose.yml contents, docker run shell command, or paste a screenshot of any UI based configuration of containers here
version: "2"
services:
pihole:
container_name: pihole
domainname: docker
hostname: pihole
image: pihole/pihole:latest
ports:
- '53:53/tcp'
- '53:53/udp'
expose:
- 80
- 443
networks:
- proxied
restart: unless-stopped
volumes:
- ${BASEDIR}/pihole:/etc/pihole
- ${BASEDIR}/pihole.log:/var/log/pihole.log
- ${BASEDIR}/dnsmasq.d:/etc/dnsmasq.d
environment:
- ServerIP=${SERVER_IP}
- PROXY_LOCATION=pihole
- VIRTUAL_HOST=pihole.${DOMAINNAME}
- VIRTUAL_PORT=80
- TZ=${TZ}
- DNSMASQ_LISTENING=all
- WEBPASSWORD=${WEBUIPASS}
- DNS1=8.8.8.8
- DNS2=1.1.1.1
- DNSMASQ_USER:pihole
dns:
- 1.1.1.1
- 1.0.0.1
labels:
- "traefik.enable=true"
- "traefik.backend=pihole"
...
- any additional info to help reproduce
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-resolver-resolv: applying...
[fix-attrs.d] 01-resolver-resolv: exited 1.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 20-start.sh: executing...
::: Starting docker specific checks & setup for docker pihole/pihole
Failed to set capabilities on file `/usr/bin/pihole-FTL' (Operation not supported)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
ERROR: Failed to set capabilities for pihole-FTL. Cannot run as non-root.
[cont-init.d] 20-start.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
These common fixes didn't work for my issue
- I have tried removing/destroying my container, and re-creating a new container
- I have tried fresh volume data by backing up and moving/removing the old volume data
- I have tried running the stock
docker run
example(s) in the readme (removing any customizations I added) - I have tried a newer or older version of Docker Pi-hole (depending what version the issue started in for me)
- I have tried running without my volume data mounts to eliminate volumes as the cause
Dropping back to version 2021.12.1 resolved the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment