Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pihole [2020/06/22 16:21]
Stephane de Labrusse [Installation]
pihole [2020/08/06 09:58] (current)
Stephane de Labrusse [Upgrade]
Line 82: Line 82:
  
  
-- Modify the upstream DNS of pihole following your needs, it can be used (default is google DNS)+- Modify the upstream DNS of pihole following your needs (default is google DNS)
  
-you can adjust to different ​dns if you think they are faster or DNS with adult filtering if your want to protect your kids+you can adjust to different ​DNS if you think they are faster or DNS with adult filtering if your want to protect your kids
  
-as example I will use cleanbrowsing.org,​ decide what Family or Adult filter to use+as example I will use cleanbrowsing.org,​ decide what Family or Adult filter to use (https://​cleanbrowsing.org/​ip-address)
  
-If you want to filter porn, set DNS1 and DNS2 to https://​cleanbrowsing.org/​ip-address+If you want to filter porn, set DNS1 and DNS2 to 
  
 ``` ```
Line 130: Line 130:
 ==== Where to start ==== ==== Where to start ====
  
-Once installed ​dolibarr ​is available at the ip of the container, to find it do `pihole ip` in the terminal, use the IP of the container in your browser, then log with the credential `admin` and the password set in the `password` esmith property+Once installed ​pihole ​is available at the ip of the container, to find it do `pihole ip` in the terminal, use the IP of the container in your browser, then log with the credential `admin` and the password set in the `password` esmith property
  
  
Line 148: Line 148:
 ==== Pihole wrapper ==== ==== Pihole wrapper ====
  
-do `pihole` in your container ​to get help+do `pihole` in your terminal ​to get help
  
 pihole facilities wrapper to docker command pihole facilities wrapper to docker command
Line 161: Line 161:
     pihole destroy: Delete the pihole container     pihole destroy: Delete the pihole container
     pihole build: Delete then create the pihole container     pihole build: Delete then create the pihole container
 +    pihole upgrade: Upgrade docker image, delete then create the pihole container
     pihole ps: Container information     pihole ps: Container information
     pihole log: Display the error log of the container     pihole log: Display the error log of the container
Line 168: Line 169:
 As many docker container the upgrade of a container means you must destroy it before As many docker container the upgrade of a container means you must destroy it before
  
-`pihole ​build`+`pihole ​upgrade`
  
-delete then build again the container+Upgrade the docker image, ​delete then build again the container
  
 ====Backup==== ====Backup====