Docker network #2113
Unanswered
acutillas-gs
asked this question in
Questions
Docker network
#2113
Replies: 1 comment
-
I ended up being able to work around this with maven profiles but I do think it would be good to be able to choose your docker network, or at least be able to choose if you want to create a new one or use the default bridge. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
my integration tests use the docker-maven-plugin to start both a postgres and a redis container and run the integrations tests against them. However, when running this as part of my workflow my main job container starts in a custom bridge network, github_network_XXXXX, and the containers that the plugin starts are in either the default bridge network or the host network (depending on the config I set up). Because of this, my application can't reach my DB or my redis. Is there any way I can specify the docker network for my job container? Or if it has to be a custom bridge, specify the name so I can connect to it from the docker-maven-plugin.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions