Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to get the image for Docker Runner?

Bamboo version 6.4.0 build 60404 - 17 Feb 18

I am having trouble understanding how the Docker Runner is supposed to work: namely, how is it supposed to get the image that it uses?

I can create an earlier stage with a job having a Docker pull task that runs in the agent environment, but I have no guarantee that it will run on the same agent/host.

Likewise, I can create a job in the same stage with the Docker pull task, but that could also run in parallel and/or on another host.

I tried adding a Docker pull task to a job that runs in Docker Runner, thinking that maybe this would be a bit of awkward magic that would run the pull in the agent environment and then run the other tasks in the Docker Runner.

The best I can figure out is that this feature is intended to be used where a local set of images will be downloaded & maintained by the Bamboo/system admins, outside of Bamboo itself.

1 answer

0 votes

 

Hi Wil,

As stated in the official documentation, "Docker runner is meant to run builds and deployments in a Docker container to isolate the build process from the environment it runs in." So, basically, Bamboo requires that the image you've set in the task configuration is available locally (agent's environment) or it can be downloaded from the default docker registry.

If you want to ensure that the task will use the latest image, you'll need to push it before the job starts its execution, I would say that the best approach would be to create a "master" plan to build and push the docker image and a "child" or dependent plan to build the project itself.

thanks.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

221 views 4 6
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