Skip to content

How to use DNS on client host deployed by docker #3518

@eyunzhu

Description

@eyunzhu

I'm using the following Docker command to run the client. The host machine can only access other nodes via IP addresses and cannot ping custom domain names. How should I configure it to work properly?

sudo docker run -d --network host --privileged -e TOKEN=x -v /etc/netclient:/etc/netclient --name netclient gravitl/netclient:v0.99.0

And how to use DNS effectively on Mac

Also: After installing netclient on the machine below and joining the network, the wg command does not exist. What could be the reason?

Linux xxx 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions