diff --git a/docker/api/container.py b/docker/api/container.py index d8416066d..3678dd608 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -120,7 +120,8 @@ def commit(self, container, repository=None, tag=None, message=None, tag (str): The tag to push message (str): A commit message author (str): The name of the author - changes (str): Dockerfile instructions to apply while committing + changes (str or list): Dockerfile instructions to apply while + committing conf (dict): The configuration for the container. See the `Engine API documentation `_ diff --git a/docker/models/containers.py b/docker/models/containers.py index de6222ec4..b7a585d70 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -109,7 +109,8 @@ def commit(self, repository=None, tag=None, **kwargs): tag (str): The tag to push message (str): A commit message author (str): The name of the author - changes (str): Dockerfile instructions to apply while committing + changes (str or list): Dockerfile instructions to apply while + committing conf (dict): The configuration for the container. See the `Engine API documentation `_