Comments (6)
I think theres an additional piece of information still missing. I think mac dockers interacts with the virtual machine interfaces. I have two interfaces to the machine this is running on, ethernet en3 and wifi en0. Both give the same log in dhcp except replacing enp2s0 in the message with the other two. I think only eth0 is available in a docker container for mac. I verified that by going into the containers and running ifconfig. Heres the documentation: https://docker-docs.uclv.cu/docker-for-mac/networking/#:~:text=Known%20limitations%2C%20use%20cases%2C%20and%20workarounds%20%F0%9F%94%97%201,two%20scenarios%20that%20the%20above%20limitations%20affect%3A%20
I changed that line to replace enp2s0 with eth0 and now the dhcp container is no longer constantly unhealthy and restarting. However; we still have only a response of 502 bad gateway when you actually go to the url/ip of the adguardhome. I think I need to reclone this repo and pruin any images to make sure I'm not carrying along wrong info (for example I've changed the ip since I made the letsencrypt acme.json). Then I think i'll have to change the rest of the containers to fit the port mapping detailed on the above link
from docker-compose-nas.
Hi there, I'm not sure to understand the "not resolving"; are you talking about the Adguard Home dashboard itself or websites not resolving due to a DNS issue after setting Adguard Home as your resolver?
from docker-compose-nas.
Sorry I've spent some time making sure I haven't missed something. Thank you again for your help.
For some reason I can't as you said get the web ui to resolve, and cant reach adguard home. I'm running on a mac which may be part of the reason, but I have an ethernet and a wifi connection. I've tried setting the adguardhome address to the ip of either of those. I've only once been able to reach the adguard setup page. I cannot for the life of me figure out why they wont resolve. I believe it has something to do with the way mac interacts with the vpn and ethernet adaper. Here are the relevant logs from the failing dhcp container2024-01-09 20:50:30 exiting. 2024-01-09 20:51:30 Requesting: enp2s0 as upstream: N downstream: Y 2024-01-09 20:51:30 Requesting: br_adguard as upstream: Y downstream: N 2024-01-09 20:51:30 Internet Systems Consortium DHCP Relay Agent 4.4.3-P1 2024-01-09 20:51:30 Copyright 2004-2022 Internet Systems Consortium. 2024-01-09 20:51:30 All rights reserved. 2024-01-09 20:51:30 For info, please visit https://www.isc.org/software/dhcp/ 2024-01-09 20:51:30 Listening on LPF/br_adguard/02:42:80:91:01:fd 2024-01-09 20:51:30 Sending on LPF/br_adguard/02:42:80:91:01:fd 2024-01-09 20:51:30 Failed to get interface index: No such device
from docker-compose-nas.
Thanks for the details, I think this makes sense: Failed to get interface index: No such device
. On Mac, there is no enp2s0
network interface, it will usually be one of enX
. You may use ifconfig
to determine which one you are using, and replace enp2s0
.
from docker-compose-nas.
Also I really appreciate you coming back and helping multiple times. I will submit the changes necessary into a commit changing the README.md detailing how I got this working if I ever do.
from docker-compose-nas.
In theory, network_mode: host
should make the host network interfaces available in Docker, but it looks like it does not work on Windows and Mac: https://docs.docker.com/network/drivers/host/
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
As a workaround, I'd disable DHCP in Mac/Windows installations and use a native DHCP server if needed, or use the one in your router.
I don't think the bad gateway in Adguard Home is related though, are there other logs?
from docker-compose-nas.
Related Issues (20)
- Plex Support HOT 1
- replaced jellyfin and wireguard-pia by plex and expressvpn HOT 1
- step by step guide HOT 1
- Add backup service HOT 2
- qbittorrent healthcheck fails with error 403 HOT 2
- Client-side exception on accessing qBittorrent HOT 5
- qBittorrent connection refused. HOT 1
- Unable to complete application test, cannot connect to Sonarr. Name does not resolve (vpn:8989) HOT 5
- ELI5: How do we ensure traffic does not bypass VPN?
- qBittorrent 4.6.1 password issue HOT 2
- Guide for adding other docker services with traefik HOT 2
- Jellyfin does not work through traefik HOT 5
- Continously pinging google.com? HOT 3
- File structure and hardlinks HOT 4
- Add Bazarr support HOT 3
- How does this compare to Saltbox (aka Cloudbox)? HOT 2
- Autorenew SSL Cert? HOT 3
- Slow Qbit speeds (Doesn't crack 1MBps) HOT 3
- add whisparr support / Jdownloader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-compose-nas.