-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: support docker compose v2 plugin version #228
Conversation
Currently I'm facing some issues with The command is executed without errors but it seems it didn't stop the container when the command exits because a check in our test fails. await compose.stop({ cwd: path.join(__dirname), log: logOutput })
expect(await isContainerRunning('/compose_test_web')).toBeFalsy() // fails
expect(await isContainerRunning('/compose_test_proxy')).toBeFalsy() Putting @StefanScherer @Steveb-p can I pick your brains here? |
@AlexZeitler Interesting. Is there a simple repro case? I haven't looked into the code, but your failing test would be basically a |
I would assume that |
@StefanScherer thanks for looping in. That's the failing test which does what you suggested: I need to test prior versions of |
Yes, that's my assumption as well. A workaround could be to find the services started by the compose file, add |
Would that involve moving dockerode from a test dependency to a dependency? Without pushing the instantiation of dockerode to the user it may be complex to add it, for example if the user is running a complex docker setup (dind, etc) |
@cristianrgreco Yes, that's true. We should find a better solution. |
remove outdated v2 tests
Solves #177