minor json fixes that caused the docker server to return 500s

This commit is contained in:
Cove Schneider 2013-05-27 09:31:41 -07:00
parent 5d6271417c
commit bcd3a64827
1 changed files with 5 additions and 5 deletions

View File

@ -25,16 +25,16 @@ class Client(requests.Session):
volumes=None, volumes_from=None):
return {
'Hostname': hostname,
'PortSpecs': ports,
'PortSpecs': [ports],
'User': user,
'Tty': tty,
'OpenStdin': stdin_open,
'Memory': mem_limit,
'AttachStdin': 0,
'AttachStdout': 0,
'AttachStderr': 0,
'AttachStdin': False,
'AttachStdout': False,
'AttachStderr': False,
'Env': environment,
'Cmd': command,
'Cmd': [command],
'Dns': dns,
'Image': image,
'Volumes': volumes,