lib/minke/docker/docker_runner.rb in minke-1.5.8 vs lib/minke/docker/docker_runner.rb in minke-1.5.9
- old
+ new
@@ -37,10 +37,10 @@
##
# pull_image pulls a new copy of the given image from the registry
def pull_image image_name
puts "Pulling Image: #{image_name}"
- puts `docker pull #{image_name}`
+ ::Docker::Image.create('fromImage' => image_name)
end
##
# create_and_run_container starts a conatainer of the given image name and executes a command
#