Merge "Fix docker volumes binds issue"
This commit is contained in:
commit
b7d624e84c
@ -273,6 +273,9 @@ class DockerContainer(resource.Resource):
|
||||
kwargs = {}
|
||||
if self.properties[self.PRIVILEGED]:
|
||||
kwargs[self.PRIVILEGED] = True
|
||||
if self.properties[self.VOLUMES]:
|
||||
kwargs['binds'] = self.properties[self.VOLUMES]
|
||||
|
||||
client.start(container_id, **kwargs)
|
||||
return container_id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user