Fork me on GitHub
#docker
<
2021-02-26
>
lispyclouds09:02:00

1.0.3 of clj-docker-client is out now! It is an idiomatic, data-driven client for docker and now adds support for Mutual TLS with remote docker hosts and ability to read response streams when an exception is thrown! 😄 https://github.com/into-docker/clj-docker-client/releases/tag/1.0.3

blak3mill3r23:02:07

This is fantastic, I am excited to try it. I wonder if anyone has tried it with GraalVM?

blak3mill3r23:02:24

IIUC correctly it just communicates over a socket with the Docker daemon, so it seems like it should be workable with GraalVM. I am curious about a Clojure rewrite of https://forge.sh/ where fast startup time would be very valuable.

lispyclouds07:02:35

@UC681SR17 yes this works pretty well with Graal!

❤️ 3
lispyclouds07:02:02

As for forge, @U011WHW60F8 has built https://github.com/into-docker/into-docker which has a similar idea of packing up apps based on a generic config. It does all the packing but not deploy like forge. As yes it used clj-docker-client and compiled as a Graal binary 😄

blak3mill3r21:03:01

This is just gorgeous. All the rest that forge does amounts to templating up some k8s manifests using Jinja2 (and we all know that Clojure would do this better with a fraction of the code).