-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lack of documentation #2
Comments
Hi, thanks for your interest! Due to lack of time I didn't have a chance to write any documentation, yet, and I fully agree that the source won't guide you very much to help you getting started. The library is kept very simple, though: You might want to start with the ComposeFileReader to load a .yaml file. I personally use it in my docker-client library at https://github.com/gesellix/docker-client/blob/0ee342ef0d766c44909f83cb6fba720ed627fcc5/client/src/main/groovy/de/gesellix/docker/client/stack/DeployConfigReader.groovy#L54 My focus was to load Docker Stack .yaml files, which are working with the v3 schema version of Docker Compose, and the library should act as low level utility to implement the To answer your question where the lib should make sense: it is a pure JVM library without dependencies to a lokal |
Which use cases/commands would you like to implement in pure Java code? |
Hi gesellix, nice work ! If I understood well, docker-cloud stak.yaml files are the same than v3 compose ? |
@daniellavoie No, that's yet another format for Docker Cloud and the naming doesn't even help very much. To clarify:
To complete the confusion: you can enable Swarm mode in Docker Cloud and use Docker Stack to deploy a Compose v3 based stack.yml ;-) Does that help? |
@gesellix It sure does :) Thanks for the complete picture |
Hi,
I'm very interested in execute docker-compose commands from Java code. I've found your repo and it is very interesting. Do you plan to publish some short of documentation of this repository? It is supposed to be a replacement of docker-compose CLI tool or a library to be used inside another Java program?
Thanks for that awesome work.
The text was updated successfully, but these errors were encountered: