Support docker compose
Hey,
I'd like to give this a go, but I'm not sure how to do it with the docker-java api.
Do you have any ideas/tips on how to do it?
Thanks! Tomas
Hi @hanleyt , That's awesome ! As far as I know, docker-java doesn't support compose :( So we may need a new dependency, or write our own way of doing this. We never were very happy with docker-java so if there is a better solution that supports docker-compose, then, please don't hesitate to change the library. @vdemeester any insights ? Also, please don't be scared by the quality constraints we have, it's there just to force us to think deeply and show us holes that we may no be aware of. Don't hesitate to do a PR with a un-finished/non building code. We will discuss things there more specifically :)
🤔 There is two options really :
- shell out to
docker-composeif present (otherwise fail) - write a docker-java-compose library that reproduce what
docker-composedoes, in Java 👼
2nd options is better but way more work too.