These are chat archives for spring-cloud/spring-cloud

10th
Feb 2019
Archimedes Trajano
@trajano
Feb 10 00:53
So something more complicated... how do I perform HTTP like requests against a Unix Domain Socket like /var/run/docker.sock?
Matthew Davis
@mateothegreat
Feb 10 01:18
@trajano Responded to your post .. just expose the docker daemon over tcp
Archimedes Trajano
@trajano
Feb 10 01:22
I already did that that's my current workaround, I wanted to avoid it.
I tried to look at docker-java but I can't figure out how to extract it for my needs
Archimedes Trajano
@trajano
Feb 10 06:45
Is there a way of getting rid of the extra subscribe to get a Mono<List<T>> to a stream of <T>?
I didn't know so I coded it like this https://gist.github.com/trajano/4bfeec46566d2ea2d98553d31a76e889#file-dockerswarmdiscoveryclient-java-L132
Spencer Gibb
@spencergibb
Feb 10 19:58
.block(), but what you did is best