Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Custom Docker Network built-in DNS server (and named container resolving) #399

Open
alexmerm opened this issue May 14, 2024 · 0 comments

Comments

@alexmerm
Copy link

Would be nice to have the option to include the custom docker network dns as a nameserver. Would enable accessing other containers on the same custom network thru their name. Currently requires the direct IP of other containers which is hard to obtain.
An example compose file would look like:

services:
    arch-delugevpn:
        cap_add:
            - NET_ADMIN
        ports:
            - '8112:8112'
            - '8118:8118'
            - '58846:58846'
            - '58946:58946'
        container_name: delugevpn
        ...
        image: 'binhex/arch-delugevpn:latest'
    sonarr:
        ...
        ports:
          - 8989:8989
        restart: unless-stopped

Currently, within other containers you can access deluge at "http://delugevpn:8112", this would allow access from deluge container to sonarr via "http://sonarr:8989"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant