-
Hi, I'm using WatchYouLAN to monitor my local network (192.168.1.0/24) but sometimes I get all my other containers from my traefik docker network (172.18.x.x). I know I can set the interface I want to scan, but apperently eth0 and eth1 switch around every now and then. I already tried to give them names in my Docker Compose file, since they are supposed to be sorted alphabetically. I also tried to define the traefik network as internal: true since these are supposed to be set up last when the container is built. But nothing has helped so far. Lastly I tried to use an ARP string (-gNx 192.168.1.0/24 -I eth0, -gNx 192.168.1.0/24 -I eth1) but I still get results from the 172.18.x.x network. Any ideas on how I can make sure to only scan for devices in my actual LAN? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Took awhile but found this. Use "priority" in docker compose. Don't forget to have "privileged: true". |
Beta Was this translation helpful? Give feedback.
Took awhile but found this. Use "priority" in docker compose. Don't forget to have "privileged: true".
https://stackoverflow.com/questions/42926294/docker-compose-specify-which-interface-will-connect-to-each-network-when-havin/54249765#54249765