diff options
author | Rui Cao <ruicao@alauda.io> | 2018-09-27 21:10:36 +0800 |
---|---|---|
committer | Rui Cao <ruicao@alauda.io> | 2018-09-27 21:10:36 +0800 |
commit | 46a9b10b634f70d56662c9e5f834ba35b238321a (patch) | |
tree | 685fefdbe347b64f36740bc0dce11a58e3867eb7 | |
parent | 416ea74e3f4e1aa017a2a265f43e37afa7b6285e (diff) | |
download | docker-py-46a9b10b634f70d56662c9e5f834ba35b238321a.tar.gz |
Fix typo: Addtional -> Additional
Signed-off-by: Rui Cao <ruicao@alauda.io>
-rw-r--r-- | docker/api/container.py | 2 | ||||
-rw-r--r-- | docker/models/containers.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/api/container.py b/docker/api/container.py index d02ad78..c59a6d0 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -465,7 +465,7 @@ class ContainerApiMixin(object): dns_opt (:py:class:`list`): Additional options to be added to the container's ``resolv.conf`` file dns_search (:py:class:`list`): DNS search domains. - extra_hosts (dict): Addtional hostnames to resolve inside the + extra_hosts (dict): Additional hostnames to resolve inside the container, as a mapping of hostname to IP address. group_add (:py:class:`list`): List of additional group names and/or IDs that the container process will run as. diff --git a/docker/models/containers.py b/docker/models/containers.py index 14545a7..f60ba6e 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -558,7 +558,7 @@ class ContainerCollection(Collection): environment (dict or list): Environment variables to set inside the container, as a dictionary or a list of strings in the format ``["SOMEVARIABLE=xxx"]``. - extra_hosts (dict): Addtional hostnames to resolve inside the + extra_hosts (dict): Additional hostnames to resolve inside the container, as a mapping of hostname to IP address. group_add (:py:class:`list`): List of additional group names and/or IDs that the container process will run as. |