Update /etc/hosts with the latest IPs of the containers.