Hi!
I'm new to omv, docker, and all that. I'm trying to get pihole set up, and I'm stuck near the beginning.
I'm basically following these guides:
Install Pi-Hole on OMV with DOCKER COMPANY AND DEDICATE IP » TheJoe.it
Install Pi-Hole on OMV with DOCKER COMPANY AND DEDICATE IP » Networking
thejoe.it
Thread
Help Pihole docker compose for OMV 7 x64
Hello, I'm configuring Pihole in docker compose. Looking at some information I see that you have to create a macvlan type network in OMV within dockers and that's what I've done, limiting the Dhcp in the router so that it doesn't use the Pihole IP. I've changed port 80 to 81 because OMV uses 80 according to what I've read and thus avoid problems. I've configured docker compose and when testing it I get this error on line 10 which confuses me because in other dockers that line of the…
I understand that first I need to create a new docker macvlan network, for which i am following https://wiki.omv-extras.org/do…te_a_vlan_pi-hole_adguard. That fails, though, either through the gui or directly though the cli.
Here's the cli command:
Code
> docker network create --driver macvlan --opt parent=enp1s0 --opt macvlan_mode=bridge --subnet= 192.168.50.0/24 --gateway=192.168.50.1 --ip-range= 192.168.50.240/29 --aux-address="my-router=192.168.50.1" --aux-address="my-nas=192.168.50.54" piholevlan 2>&1
I get the same error in either via gui or cli:
Code
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; docker network create --driver macvlan --opt parent=enp1s0 --opt macvlan_mode=bridge --subnet= 192.168.50.0/24 --gateway=192.168.50.1 --ip-range= 192.168.50.240/29 pihole-vlan 2>&1' with exit code '1': docker: 'docker network create' requires 1 argument Usage: docker network create [OPTIONS] NETWORK Run 'docker network create --help' for more information
Any idea where this is going wrong?