Skip to content
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

Fix Docker Compose Command Compatibility #5

Merged

Conversation

damien-mathieu1
Copy link
Contributor

Description:

This pull request addresses the issue with running Docker Compose commands, specifically handling compatibility between docker-compose (legacy) and docker compose (v2) commands. The changes ensure that both versions of Docker Compose are supported, automatically switching between them based on the available command in the system's PATH.

src/lib.rs Outdated
@@ -1,3 +1,4 @@
use std::env;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unused std::env

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch i did not see it my bad aha, i just pushed an update to remove it 👍 . Thanks for the reactivity !

@lwlee2608
Copy link
Owner

PR looks good, except for one minor unused import that needs to be removed.

Copy link
Owner

@lwlee2608 lwlee2608 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lwlee2608 lwlee2608 merged commit f96d987 into lwlee2608:main Feb 4, 2025
1 check passed
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.

2 participants