add linked containers to hosts file