def login(self, username, password=None, email=None, registry=None, reauth=False,<EOL>dockercfg_path=None):
self.d.login(username, password, email, registry, reauth, dockercfg_path)<EOL>logger.info("<STR_LIT>", registry)<EOL>
:param username: The registry username
:param password: The plaintext password
:param email: The email for the registry account
:param registry: URL to the registry, example:
       - https://index.docker.io/v1/
:param reauth: Whether or not to refresh existing authentication on the Docker server.
:param dockercfg_path: Use a custom path for the Docker config file
:return: None