clj-docker-client
clj-docker-client copied to clipboard
An idiomatic, data-driven, REPL friendly Clojure Docker client
This should enable the use from https://github.com/borkdude/babashka and would be cool AF!
```clojure (docker/invoke conn {:op :ContainerList :params {:filters (json/write-value-as-string {:label {const/server-name-label true}})}}) ``` While this makes kind of sense, because... ```edn {:doc "List containers\nReturns a list of containers. For details on...
would be nice to have an async version of invoke. its possible now with returning the response as a stream, but can be styled after aws-api to return a channel.
```clojure (docker/invoke containers {:op :PutContainerArchive :params {:id "does-not-exist" :path "/root" :inputStream (-> "test.tar.gz" (clojure.java.io/file) (clojure.java.io/input-stream))}}) ``` This causes the call to hang up indefinitely even when the client timeouts are...
The same way `validate-requests` does in aws-api