I’d really love to have one Raspberry pi that is used for my WebThings and a PiHole (which is what I had it set up as before). Has anyone used docker or something similar to “segment” the Pi so that it can perform multiple functions with the gateway active? Thoughts?
Yes, that should work fine.
- WebThings Docker image: https://hub.docker.com/r/mozillaiot/gateway
- Pi-hole Docker image: https://hub.docker.com/r/pihole/pihole
How about doing it without using containers? I see that node listens to ports 8080 and 4443, but captures connections on port 80 and 443. How can I stop it from capturing the normal web ports (80 & 443) so I can use them for other things?
sudo update-rc.d -f gateway-iptables remove