Enter a name for the new Pi-hole container
Specify the Docker image
pihole/pihole:latest
By default, the “bridge” network mode is used. You do not need to change it for a basic Pi-hole setup. With bridge mode you will need to set up the port mappings between the host system and the Docker container running Pi-hole. You will notice there is an automatic “Publish all exposed ports” button, but the description says it will map all of the exposed ports in the image to random ports on the host. You do not want the ports to be random since they need to be the proper ports such as port 53 for DNS. Therefore, you must manually map the ports.
Click the "publish a new network port" 5 times (one for each port you will be exposing)
Add the following ports: