docker-client-clj
docker-client-clj copied to clipboard
Pull endpoint
Hello,
when do you plan to add image pull endpoint?
Thanks for information.
Cheers, Michael
My plan was to add endpoints lazily, as needed. If you need it, I can add it; I'll likely have some time this weekend.
I looked at this over the weekend; the pull
endpoint isn't as straightforward as I thought (hoped) it would be. It still shouldn't be too hard, but I'll have to try to give it some more time this week.
this is a super quick and dirty version of pull.
(ns foo
(:require [docker-client.support.rest :as rest]))
(slurp (rest/post c {} :create-image {} {:as :stream :query-params {"fromImage" "mysql:5.7.16"}}))
kudos to the lib for allowing me to get unstuck by myself!
That's awesome @alexguev, thanks for sharing!