Timeline for Docker containers unable to resolve dns on CentOS 7
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 4, 2023 at 2:25 | comment | added | Pablo Souza | I've just found out that it's something related with iptables, but i have no idea on how to fix it... | |
Jun 4, 2023 at 2:24 | history | edited | Pablo Souza | CC BY-SA 4.0 |
added 19247 characters in body
|
Jun 3, 2023 at 9:16 | comment | added | AlwaysLearning |
In Docker the default bridge network doesn't have intra-container DNS, but it should still be resolving internet addresses. Have you considered just creating a network and assigning them all to that with docker run --network yourNetworkName ... ? Alternatively a network will be created for each Docker composition, so have you tried to create a docker-compose.yml file from which to launch them?
|
|
Jun 3, 2023 at 0:54 | history | edited | Pablo Souza | CC BY-SA 4.0 |
deleted 10 characters in body
|
S Jun 3, 2023 at 0:52 | review | First questions | |||
Jun 3, 2023 at 1:02 | |||||
S Jun 3, 2023 at 0:52 | history | asked | Pablo Souza | CC BY-SA 4.0 |