Update docker-py

Brought in changes from https://github.com/dotcloud/docker-py/pull/145
This commit is contained in:
Aanand Prasad 2014-01-20 18:09:25 +00:00
parent 405079f744
commit 084db337a0
1 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class Client(requests.Session):
attach_stdin = False
attach_stdout = False
attach_stderr = False
stdin_once = False
if not detach:
attach_stdout = True
@ -159,6 +160,7 @@ class Client(requests.Session):
if stdin_open:
attach_stdin = True
stdin_once = True
return {
'Hostname': hostname,
@ -166,6 +168,7 @@ class Client(requests.Session):
'User': user,
'Tty': tty,
'OpenStdin': stdin_open,
'StdinOnce': stdin_once,
'Memory': mem_limit,
'AttachStdin': attach_stdin,
'AttachStdout': attach_stdout,