Home > other >  How to configure DNS to use
How to configure DNS to use

Time:09-22

Access the network through agent, the how to configure the docker to let he can access by domain name?
Although I have set up agent, but in the container, and access to the network, through a domain name is inaccessible, can only add IP within the host file

CodePudding user response:

The docker:

The route - n


Its gateway can configure DNS.

CodePudding user response:

I also want to know the answer, but the upstairs said is not detailed,

CodePudding user response:

In the container in the/etc/resolv. Conf configuration domain name service,
  • Related