Skip to content

Commit f7e7a85

Browse files
terminalmageshin-
authored andcommitted
Fix domainname documentation in create_container function
It looks like this was probably originally copypasta'ed from dns_search and not edited afterward. Signed-off-by: Erik Johnson <[email protected]>
1 parent bf15e27 commit f7e7a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/api/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def create_container(self, image, command=None, hostname=None, user=None,
399399
name (str): A name for the container
400400
entrypoint (str or list): An entrypoint
401401
working_dir (str): Path to the working directory
402-
domainname (str or list): Set custom DNS search domains
402+
domainname (str): The domain name to use for the container
403403
memswap_limit (int):
404404
host_config (dict): A dictionary created with
405405
:py:meth:`create_host_config`.

0 commit comments

Comments
 (0)