diff --git a/contrib/docker/docker/resources/docker_container.py b/contrib/docker/docker/resources/docker_container.py index aab50f61a3..91a7edd185 100644 --- a/contrib/docker/docker/resources/docker_container.py +++ b/contrib/docker/docker/resources/docker_container.py @@ -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