Skip to content

Change to Docker Api #34

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

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open

Change to Docker Api #34

wants to merge 40 commits into from

Conversation

ASDFGamer
Copy link
Member

This changes the interaction with docker from the cli to the api.
The API is better suited for this task, because it provides more and easier accessible information.
It also allows easier testing, because it can be mocked which wasn't the case for the cli calls.

This changes the behavior, so that all docker compose projects/services on the current host are found and not just ones that are in the root folder.
I think that I will add some way to limit the containers which are inspected by this program in a later PR

@ASDFGamer ASDFGamer self-assigned this Jul 6, 2024
@ASDFGamer ASDFGamer marked this pull request as draft July 6, 2024 21:24
@ASDFGamer ASDFGamer marked this pull request as ready for review July 7, 2024 21:07
@ASDFGamer ASDFGamer requested a review from ku-we July 7, 2024 21:12
@ASDFGamer
Copy link
Member Author

This closes #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant