fix(images.pull): make sure req is in POST@@ -75,6 +75,6 @@ module Docker::Api::Images
param.add "fromImage", name
param.add "tag", tag.to_s unless tag.nil?
end
- response = get "/images/create?#{params}"
+ response = post "/images/create?#{params}"
end
end
@@ -64,6 +64,7 @@ class Docker::Images
parts = image.split(":")
name = parts.first
tag = parts.last if tag.nil?
+
client.pull_image(name, tag)
end
end