From 1f24e48c5cdcbf7db904b7aadb3327dd1ea94c02 Mon Sep 17 00:00:00 2001 From: yqbk Date: Tue, 11 Oct 2016 16:45:56 +0200 Subject: [PATCH] enable docker initialize --- lib/docker_client.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docker_client.rb b/lib/docker_client.rb index 9d2f30b6..3639bd6d 100644 --- a/lib/docker_client.rb +++ b/lib/docker_client.rb @@ -334,8 +334,8 @@ class DockerClient @execution_environment = options[:execution_environment] # todo: eventually re-enable this if it is cached. But in the end, we do not need this. # docker daemon got much too much load. all not 100% necessary calls to the daemon were removed. - #@image = self.class.find_image_by_tag(@execution_environment.docker_image) - #fail(Error, "Cannot find image #{@execution_environment.docker_image}!") unless @image + @image = self.class.find_image_by_tag(@execution_environment.docker_image) + fail(Error, "Cannot find image #{@execution_environment.docker_image}!") unless @image end def self.initialize_environment