Pihole + docker + watchtower ... strange behaviour on update

Please follow the below template, it will help us to help you!

Expected Behaviour:

After update, password shoud be the same, settings should be the same

Actual Behaviour:

New password is generated, settings are lost

Debug Token:

75bq09fkku

Hi together,

I'm facing some strange behavoir of pihole when I use it with docker.
For setup I used the bash snippet that is mentioned on docker hub:
https://hub.docker.com/r/pihole/pihole/

Pesistent Storage is set like in the example:

Host/volume Path in container
/data/sd/docker/compose/pihole/dnsmasq.d /etc/dnsmasq.d
/data/sd/docker/compose/pihole/pihole /etc/pihole

To reproduce it:

  • When I stop and start the container, also the password gets lost and I have to set a new one.
  • When I update the container like mentioned on the docker hub page, both is lost, password and my custom dns settings.

I'm running and updating other containers also with watchtower and there are no prolems with data getting lost.

Any hints.

Regards Stefan

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.