mirror of https://github.com/docker/compose.git
Update docker-py
Brought in changes from https://github.com/dotcloud/docker-py/pull/145
This commit is contained in:
parent
405079f744
commit
084db337a0
|
@ -152,6 +152,7 @@ class Client(requests.Session):
|
||||||
attach_stdin = False
|
attach_stdin = False
|
||||||
attach_stdout = False
|
attach_stdout = False
|
||||||
attach_stderr = False
|
attach_stderr = False
|
||||||
|
stdin_once = False
|
||||||
|
|
||||||
if not detach:
|
if not detach:
|
||||||
attach_stdout = True
|
attach_stdout = True
|
||||||
|
@ -159,6 +160,7 @@ class Client(requests.Session):
|
||||||
|
|
||||||
if stdin_open:
|
if stdin_open:
|
||||||
attach_stdin = True
|
attach_stdin = True
|
||||||
|
stdin_once = True
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'Hostname': hostname,
|
'Hostname': hostname,
|
||||||
|
@ -166,6 +168,7 @@ class Client(requests.Session):
|
||||||
'User': user,
|
'User': user,
|
||||||
'Tty': tty,
|
'Tty': tty,
|
||||||
'OpenStdin': stdin_open,
|
'OpenStdin': stdin_open,
|
||||||
|
'StdinOnce': stdin_once,
|
||||||
'Memory': mem_limit,
|
'Memory': mem_limit,
|
||||||
'AttachStdin': attach_stdin,
|
'AttachStdin': attach_stdin,
|
||||||
'AttachStdout': attach_stdout,
|
'AttachStdout': attach_stdout,
|
||||||
|
|
Loading…
Reference in New Issue