mirror of https://github.com/docker/docker-py.git
Allow volumes_from to be an iterable
This commit is contained in:
parent
445bcef386
commit
d3d594d0b6
|
@ -155,6 +155,9 @@ class Client(requests.Session):
|
|||
volumes_dict[vol] = {}
|
||||
volumes = volumes_dict
|
||||
|
||||
if not isinstance(volumes_from, six.string_types):
|
||||
volumes_from = ','.join(volumes_from)
|
||||
|
||||
attach_stdin = False
|
||||
attach_stdout = False
|
||||
attach_stderr = False
|
||||
|
|
Loading…
Reference in New Issue