def get_internal_registry_ip():
with conu.backend.origin.backend.OpenshiftBackend() as origin_backend:<EOL><INDENT>services = origin_backend.list_services()<EOL>for service in services:<EOL><INDENT>if service.name == '<STR_LIT>':<EOL><INDENT>logger.debug("<STR_LIT>",<EOL>"<STR_LIT>".format(ip=service.get_ip(), port=INTERNAL_REGISTRY_PORT))<EOL>return "<STR_LIT>".format(ip=service.get_ip(), port=INTERNAL_REGISTRY_PORT)<EOL><DEDENT><DEDENT><DEDENT>return None<EOL>
Search for `docker-registry` IP
:return: str, ip address