It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Docker container run, container removed before it is started

k_habets I'm New Here Jun 29, 2020

Hi,

 

I'm using a Docker task in a Bamboo (7.0.2) plan and running the "run a docker container" option.

It looks like my container is either taking too long for Bamboo to see it as a succesful start or maybe no proper return code (?) because the container is removed straight after the execution of the plan.

I tried to introduce a "wait for service" but I don't really have something to check against so even though the container is then started correctly, the plan will still fail and remove the container.

When I just use a script task and execute the same run, all is fine. This looks like a shortcoming in the Docker tasks.

I would like to use the out of the box tooling so if anyone has a suggestion, it's very welcome! Otherwise I'll stick to a script task.

 

Regards,

Kamiel.

1 answer

I suggest that you stick to script task because it is under your control and transparent whereas docker task is a black box. In case something goes wrong, there is no hint for the reason of the failure.

k_habets I'm New Here Jul 01, 2020

Thanks for your answer, that's what I'm doing now. Still would be nice to have the plugin working properly, else why even bother making plugins? I could just script everything.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Cannot save a repository using Chrome v83 and other Chromium based browsers such as Edge

Hello Bamboo Community, I'm Jey from Bamboo Support team. If you have upgraded your Chrome browser to version 83 recently, it is observed that the save operation just spins and never completes w...

417 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you