diff --git a/docker/api/client.py b/docker/api/client.py index fbf7ad455..2b67291aa 100644 --- a/docker/api/client.py +++ b/docker/api/client.py @@ -497,7 +497,7 @@ def reload_config(self, dockercfg_path=None): Args: dockercfg_path (str): Use a custom path for the Docker config file (default ``$HOME/.docker/config.json`` if present, - otherwise``$HOME/.dockercfg``) + otherwise ``$HOME/.dockercfg``) Returns: None diff --git a/docker/api/daemon.py b/docker/api/daemon.py index f715a131a..6b719268e 100644 --- a/docker/api/daemon.py +++ b/docker/api/daemon.py @@ -109,7 +109,7 @@ def login(self, username, password=None, email=None, registry=None, the Docker server. dockercfg_path (str): Use a custom path for the Docker config file (default ``$HOME/.docker/config.json`` if present, - otherwise``$HOME/.dockercfg``) + otherwise ``$HOME/.dockercfg``) Returns: (dict): The response from the login request