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

Your Points Tracker
  • 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
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?
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

Docker Deployment with Bamboo

We are considering the possibility of implementing Docker in our CI pipeline. I'm new to the technology, but understand the basics. I have us to the point where Bamboo can pull a project from source, build the Docker image from the Dockerfile, and run and test that image as a container on the build server.

What is less clear to me is what to do with that image once it's ready for release. With our traditional IIS apps we simply push the build to each of our environments using msdeploy. However, there's not an obvious analogue for Bamboo deployments using Docker.

Any thoughts on best practices for doing this?

2 answers

0 votes

Hi @christok

Thank you for sharing a good picture of where you are now.
You should be able to reproduce a similar deployment scenario with Bamboo.

I'm not sure if I really understand the problem you are facing. Can you describe the set of steps Bamboo should do to deploy your image?

The general configuration would be:

  1. Have a deployment project with the needed environments.
  2. The deployment project will get the image as an artifact or a reference to the registry that the image was uploaded.
  3. It will deploy it to each deployment environment.

In case you miss any specific task you can still use a scrip task and put the sequence of command to deploy your image as expected.

Does it make sense? What am I missing from your question?

Thanks for the response. What I'm looking for is the analogue to msdeploy and I think that's Docker Machine. Again, I'm new to Docker, so still trying to understand the ecosystem. 

A Docker Machine plugin could be pretty cool.

Hi @christok

We have a docker task in Bamboo that can simplify running docker containers or building docker images. This is the reference document about this task:

I don't think we will have something out of the box specifically for the purpose you need, but if you can do it in terminal with some scripts and docker, you should be able to do in Bamboo using the same strategy.

I suggest you to run some tests with Bamboo, checking our docs and coming back with the blockers you face. It will be easier to help you moving forward.

Suggest an answer

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

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

1,069 views 0 16
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