dotcloud/docker-py — pull request #158 by a-ba (2014-02-04 10:38:05+00:00)
Title: Fixed malformatted request when using empty list in create_container()

create_container() sends a malformatted request when volumes==[] or
ports==[], causing error 500 "create: ExportEnv json: cannot unmarshal
array into Go value of type map"

The empty lists must be converted into a dict (or removed)