diff --git a/beat/core/dock.py b/beat/core/dock.py index 4a86266e1fbc6734c86b9d196266b14e830a9c66..d7455ed602886e7a5a7ca598984edc968f4ff373 100755 --- a/beat/core/dock.py +++ b/beat/core/dock.py @@ -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