Hi,
In the Quiz, option A (The db-admin container can send traffic to the db container by using the db hostname) is marked as correct answer.
However, how can that be correct with the information given ?
The Compose file shows that no explicit network is created for the communication of the containers, so I have to expect that the default network is used, which does not have DNS enabled.
So using the default network, the db-admin container will NOT be able to communicate with the db containter by using its hostname, correct ?
Regards
Marc
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.