def login_to_registry(username, token=None):
token = token or get_oc_api_token()<EOL>with DockerBackend() as backend:<EOL><INDENT>backend.login(username, password=token,<EOL>registry=get_internal_registry_ip(), reauth=True)<EOL><DEDENT>
Login within docker daemon to docker registry running in this OpenShift cluster
:return: