DNS server in docker host


I am learning the chapter about networking.

DNS service keeps track of IP address of containers in Docker host, I wonder how can I see all IP addresses the the DNS server is keeping?

Thank you.

Hello @minh_duc
You can run the below command to get the networks names
$ docker network ls
Then you could inspect each one to see the containers in it by running
$ docker network inspect <networkname>