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
V2.11.1 update [WIP] #84
Conversation
* Noticed: * tini arm is out! Go ARM TINI - thanks @krallin * tini alpine is behind on 0.9 - grabed latest the same way as debians * Redundent run steps between requirements and tini, merged * inconsistency in dockerfiles, made consistent * I kept writing noticed in front of all these items, used nesting instead
Tini update and arm version
Fixed typo
Ensure DNS is available early
Tests still need to be fixed. Hope to get that done tomorrow. |
…m-runs Use ip route to determine IP
Fixed some typos
Not sure if this is the right place to put this, so please forgive me. I'm willing to create a separate ticket if needed. Pi-hole recently introduced standalone password protection for the admin page [1] Version 2.11.1 is the first one for docker-pi-hole, where you can use this. I noticed the following bug/unsupported feature.
I am new to pi-hole so I couldn't immediately figure out how to fix, but I'll try to dig into it a bit further when I have some spare time later this week. [1] - pi-hole/web#197 |
@wtreur sounds like you might have lost the volume of the original container and created another volume, instead of re-using/attaching the original. Maybe check Personally I never trust docker's volumes without a host directory mapping. I always have a src directory on my docker host like: |
@diginc This doesn't seem to be the case. This is wat I tried:
I highly suspect this is because the pi-hole installation overwrites this file. Changes in |
Just deployed the new 2.11.1 container and things look ok so far. Nicely done. |
Thanks, good to hear. The debian tag is working in my environment pretty well too. Since I haven't given an update recently here is what I've got done / to do:
I'll push what I have tonight and hopefully get the remaining issues ironed out soon. |
Nice work! Thank you for your time you spend in this project! |
Thanks for doing this! I will try to take a look at the password fix later today. |
I think there are some more tests to run against the new pi-hole functionality but the base ad blocking functionality is working so I'll roll this out to master. |
Alpine's build is in progress still but debian and debian arm are building using a major Dockerfile refactor. The following debian tags are available for testing (I don't quite trust/have not vetted them enough to promote to defaults yet):
diginc/pi-hole:debian_v2.11.1
diginc/pi-hole:arm_v2.11.1
The official scripts used to install pi-hole have come a long way from when I wrote my own version of their installers in a dockerized way. Since they've improved so much I'm no longer running my own version of the package requirements or pi-hole script installations. This helps because when changes are made to the core installer I simply import them to the dockerfile rather than reproduce them.
A side effect of using the official installer is the .git data is left in the docker, enable rolling updates (untested). Destroying and pulling new images is still a superior update pattern for docker IMO, more moving parts = more problems. This is a feature I don't plan on spending a lot of time testing and will always go to my answer of 'docker rm/docker up` when problems occur as a result of trying an upgrade in this style.
There is still some cleanup that needs to be done on this branch like deleting the git submodules since git clones are used. Ideally I want the git repos be cloned to specific version tags for reproduce-ability too (old builds can be re-done and patched if necessary)