Hello everyone,
Hello ryecoaaron
Following a note in the documentation of the Docker Compose plugin for OMV7, I copied the Docker system folder from my system SSD (on which OMV runs) to my second SSD and would like to use it from there in the plugin.
To do this, I created the folder in the OMV7 WebGUI, gave my Docker user access rights and then copied all the data from /var/lib/docker into this new folder. Then I changed the Compose settings and reinstalled Docker Compose.
All containers are running except for my container for Pi-hole, which also has a MacVLAN. The container starts without errors but the Pi-hole WebGUI is no longer accessible under the assigned IP address.
If I change the Compose settings back to the old folder, the Pi-hole container also runs again.
Here is the Docker Compose of my Pi-hole container:
services:
pihole:
container_name: pihole
hostname: cwwkmini-pc (docker)
image: pihole/pihole:latest
environment:
TZ: 'Europe/Berlin'
WEBPASSWORD: 'topSecret' # your Pi-hole password for web GUI
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
networks:
macvlan_pihole:
ipv4_address: 192.168.178.225 # target IPv4 for Pi-hole
ipv6_address: 'fd00::4a5d:35ff:fe1e:225' # target IPv6 for Pi-hole
networks:
macvlan_pihole:
driver: macvlan
enable_ipv6: true
driver_opts:
parent: br0 # my network bridge on OMV computer (standard: eth0)
ipam:
config:
# - subnet: 192.168.178.224/30 # IPv4 subnet
# gateway: 192.168.178.226 # my IPv4 network router
- subnet: 192.168.178.0/24 # IPv4 subnet
gateway: 192.168.178.1 # my IPv4 network router
- subnet: 'fd00::/64' # IPv6 subnet
gateway: 'fd00::1' # my IPv6 network router
Display More
What is the reason for this? How can I fix the error?
Many thanks and regards
Mic.