Commit aaf442e8 authored by Philip ABBET's avatar Philip ABBET
Browse files

Bugfix; Docker volumes aren't correctly indicated to docker-py

parent fff2df46
......@@ -362,6 +362,11 @@ class Host(object):
if host_args is not None:
if args.has_key('volumes'):
volumes = [ v['bind'] for k, v in args['volumes'].items() ]
config_args['binds'] = args['volumes']
args['volumes'] = volumes
# see bug:
# fix on docker-engine 1.13.0 and superior
# see changelog:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment