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:
config_args.update(host_args)
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: https://github.com/docker/docker-py/issues/1195
# fix on docker-engine 1.13.0 and superior
# see changelog: https://github.com/docker/docker/blob/master/CHANGELOG.md
......
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