Kaydet (Commit) 0872f27d authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) GitHub

Merge pull request #1587 from terminalmage/docs

Documentation fixes for login func
...@@ -100,10 +100,11 @@ class DaemonApiMixin(object): ...@@ -100,10 +100,11 @@ class DaemonApiMixin(object):
email (str): The email for the registry account email (str): The email for the registry account
registry (str): URL to the registry. E.g. registry (str): URL to the registry. E.g.
``https://index.docker.io/v1/`` ``https://index.docker.io/v1/``
reauth (bool): Whether refresh existing authentication on the reauth (bool): Whether or not to refresh existing authentication on
Docker server. the Docker server.
dockercfg_path (str): Use a custom path for the ``.dockercfg`` file dockercfg_path (str): Use a custom path for the Docker config file
(default ``$HOME/.dockercfg``) (default ``$HOME/.docker/config.json`` if present,
otherwise``$HOME/.dockercfg``)
Returns: Returns:
(dict): The response from the login request (dict): The response from the login request
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment