This is begining to look more promising. So I ran the following commands:
[root@fileserver ~]# config setprop docker bridgeAeria ''
[root@fileserver ~]# config setprop docker macVlanGateway 192.168.1.5 macVlanLocalNetwork 192.168.1.0/24 macVlanNetwork 192.168.1.8/27 macVlanNic br0
[root@fileserver ~]# signal-event nethserver-docker-update
[root@fileserver ~]# config setprop pihole piholeNetwork macvlan piholeMacVlanIP 192.168.1.8
192.168.1.5 is the IP addresss for the br0 interface for Nethserver. 192.168.1.8 is the IP Address I would like PiHole to use.
I then ran the following commands and got the following results:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
39e31200c6d7 pihole/pihole:latest "/s6-init" 2 minutes ago Up 2 minutes (unhealthy) pihole
01c94a6af7e4 portainer/portainer-ce "/portainer -H unix:…" 17 hours ago Up 2 minutes 8000/tcp, 9000/tcp, 9443/tcp portainer
# docker network ls
NETWORK ID NAME DRIVER SCOPE
c03309bf4685 aqua bridge local
ce9c7fed577c bridge bridge local
c9e48d2d1ea3 host host local
0a85a82de6eb macvlan macvlan local
3404ce0406d8 none null local
If I now try to go to http://192.168.1.8/, I get Nethserver’s default webpage which is what I sort of expected. If I go to http://192.168.1.8/admin/ to get to the PiHole Admin Page, I get a 404.
Think I am missing something stupidly obvious like the Docker Port configuration?