Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
minor json fixes that caused the docker server to return 500s
  • Loading branch information
cove committed May 27, 2013
commit bcd3a64827a40320a3424e48ce995b8dba063916
10 changes: 5 additions & 5 deletions docker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ def _container_config(self, image, command, hostname=None, user=None, detach=Fal
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,
Expand Down