summaryrefslogtreecommitdiff
path: root/docker/client.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-04-27 14:11:43 -0700
committerJoffrey F <joffrey@docker.com>2015-04-27 14:11:43 -0700
commite337a2317ef3e9f592d8d1d59790eb6dd0d7455c (patch)
treeb87ca7a9ce400136f982f9248fc748399c6328ed /docker/client.py
parente2ad91bdf712d5630e47c5077ac7b02afe5ded44 (diff)
downloaddocker-py-exec_rework.tar.gz
Updated exec API documentationexec_rework
Diffstat (limited to 'docker/client.py')
-rw-r--r--docker/client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/docker/client.py b/docker/client.py
index e978dff..8481b78 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -526,8 +526,7 @@ class Client(requests.Session):
return self.exec_start(create_res, detach, tty, stream)
- def exec_create(self, container, cmd, detach=False, stdout=True,
- stderr=True, tty=False):
+ def exec_create(self, container, cmd, stdout=True, stderr=True, tty=False):
if utils.compare_version('1.15', self._version) < 0:
raise errors.InvalidVersion('Exec is not supported in API < 1.15')
if isinstance(container, dict):
@@ -543,7 +542,6 @@ class Client(requests.Session):
'AttachStdin': False,
'AttachStdout': stdout,
'AttachStderr': stderr,
- 'Detach': detach,
'Cmd': cmd
}