-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improved Docker documentation #601
Comments
Bump. After bashing my head against the wall for hours trying to make DHCP work. Seems the current implementation of DHCP that works for me (tested with 5.0 and 4.4) is from exactly what you have shared above. Except in my case, only works when I additionally include a web port env - -e WEB_PORT=xxx .Leaving this here in case anyone faces the same issue I had. @diginc |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
Keep open. This is still ongoing. |
NET_ADMIN should be enough here. Pull requests are welcome with any improvements to the docs, though I do agree they could do with some updating. I actually want to get the readme migrated into "proper" docs over at HTTPS://docs.pi-hole.net, but it's an arduous task that I've not yet found the time for |
This is a...
Description
I love this project. I have spend hours yesterday setting it up, especially the DHCP part inside a Docker container (along with some nice limitations of my ISPs router) made it quite time consuming. I've spend hours reading a lot of issues and examples on this Github pages. I think we could improve the documentation especially when it comes to running the DHCP server from within Docker. Also, from stopping, restarting docker with the proper arguments and persisting data.
Expected Behavior
We should improve the Docker documentation to include instructions on how to Stop, Remove, but especially Restart the Docker container properly without loosing states or data. Also we should be more specific about the proper settings that needs to be used in Docker to get DHCP working.
Actual Behavior
Had to read many (older) issues here, test, trial and error. Took quite some research to get to identify the issues and get the proper information.
Possible Fix
Improved documentation.
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
After a lot of trial and error I found that my near perfect command would be:
But I am still not sure if the two dns options are required, if the CAP_NET_BROADCAST is required or NET_ADMIN is enough but surely without both it won't work. Also I've read that the ServerIP was required for DHCP to work properl. Also I've experienced twice that all my settings were gone after a restart. I would appreciate proper docker commands for setting it up the first time, stopping, removing, restarting et cetera without losing data. I'm also still doubting if I mounted enough proper folders and how to stop/start the container without losing my configuration and statistics.
Debug steps I have tried
docker run
example in the readme (removing any customizations I added)Context and extra information
Your Environment
I use the latest Docker version on Ubuntu 18.04.4 LTS (bionic).
The text was updated successfully, but these errors were encountered: