Skip to content

Commit 46a9b10

Browse files
committed
Fix typo: Addtional -> Additional
Signed-off-by: Rui Cao <[email protected]>
1 parent 416ea74 commit 46a9b10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/api/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def create_host_config(self, *args, **kwargs):
465465
dns_opt (:py:class:`list`): Additional options to be added to the
466466
container's ``resolv.conf`` file
467467
dns_search (:py:class:`list`): DNS search domains.
468-
extra_hosts (dict): Addtional hostnames to resolve inside the
468+
extra_hosts (dict): Additional hostnames to resolve inside the
469469
container, as a mapping of hostname to IP address.
470470
group_add (:py:class:`list`): List of additional group names and/or
471471
IDs that the container process will run as.

docker/models/containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def run(self, image, command=None, stdout=True, stderr=False,
558558
environment (dict or list): Environment variables to set inside
559559
the container, as a dictionary or a list of strings in the
560560
format ``["SOMEVARIABLE=xxx"]``.
561-
extra_hosts (dict): Addtional hostnames to resolve inside the
561+
extra_hosts (dict): Additional hostnames to resolve inside the
562562
container, as a mapping of hostname to IP address.
563563
group_add (:py:class:`list`): List of additional group names and/or
564564
IDs that the container process will run as.

0 commit comments

Comments
 (0)