docker pi-hole and updates (PIHOLE_BASE?)

Post Reply
Rello
Starting out
Posts: 15
Joined: Fri Feb 27, 2015 8:53 pm

docker pi-hole and updates (PIHOLE_BASE?)

Post by Rello »

Hello,

I am new to docker.
I am happily running a pi-hole from the official docker. now its time to update the pi-hole, which should not be part of the docker. the new version should be installed.
To not loose the settings, the docu mentions:

Code: Select all

You can customize where to store persistent data by setting the PIHOLE_BASE environment 
variable when invoking docker_run.sh (e.g. PIHOLE_BASE=/opt/pihole-storage ./docker_run.sh). 
If PIHOLE_BASE is not set, files are stored in your current directory when you invoke the script.
What does this mean?
  • Do I simply need to add PIHOLE_BASE as an environment variable in the container UI?
  • Can I add any folder of a share volume e.g.?
  • Does this setting only work for new containers so my current settings without the variable are lost?
thank you for your support!
Post Reply

Return to “Container Station”