...
In this example we linked a previous container called mysql with our confluence container. If we connect to the confluence container, we will see that the hosts file has been updated.
Code Block | ||
---|---|---|
| ||
> docker exec -it confluence bash bash-4.4# cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 10.0.3.4 mysql 4157a451ee8c 10.0.3.2 bac14530534d |
...