Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi!
I have a pipeline where we're running different docker containers connected to each other using docker-compose.
I'm wondering if we have a way to share the running containers between steps to run some tests in parallel.
Is it possible?
Thanks in advance!
Xavier.
Hello @Xavier Serrat Bordas ,
Thank you for reaching out to Atlassian Community!
As each step in the pipelines runs in a isolated environment (each step in its own container), I'm afraid it's not possible to share the containers you start in a given step with the other steps.
In this case, if you would like to use parallel steps as part of your build, you would have to spin up the docker-compose containers in each of the parallel steps separately.
Let me know in case you have any questions.
Thank you, @Xavier Serrat Bordas .
Kind regards,
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.