set hostnames/IPs from docker api info