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

Added support to specify the network used by container #5

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

smurfy
Copy link
Contributor

@smurfy smurfy commented Mar 14, 2024

I'm using ddev and need to have the testcontainer in the same network, so with this PR you can specify the docker network it should use.

Also useful in other cases where docker compose is used.

Basically like: https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/containers/Container.java#L283

@smurfy
Copy link
Contributor Author

smurfy commented Mar 16, 2024

Anything i need to fix for the piplines to pass? Looks like an unrelated issue

@shyim shyim merged commit 4c9f39a into testcontainers:main Mar 16, 2024
1 check failed
@shyim
Copy link
Collaborator

shyim commented Mar 16, 2024

Yes it is unrelated

@smurfy
Copy link
Contributor Author

smurfy commented Mar 18, 2024

Ok, cool any chance to get it tagged? to use non git url in my composer to install :)

@shyim
Copy link
Collaborator

shyim commented Mar 19, 2024

sure I tagged it :) https://github.com/shyim/testcontainer/releases/tag/0.1.1

thank you again! :)

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