Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,637
Community Members
 
Community Events
176
Community Groups

How to get data from the Docker container to the Bamboo host

In order to make Atlassian's Bamboo useful to us, we need to run Docker on it and to get data from the Docker container to the host (the bamboo host). In principle (and tested locally) this is straightforward using volumes. I attached a screenshot of a minimal example, where I have a Dockerfile, which I use to build an image. This image runs a simple "touch file" command to emulate writing within the container. Before running the container, I create a directory (shared) on the host, which eventually gets mounted to workdir in the container. After running the container, I have to touched file (file_from_docker_to_host) available on my host. I tried several days to accomplish that on Bamboo (even the Bamboo troubleshooting on "Permission denied on files created within a Docker container" here: https://confluence.atlassian.com/bamboo/configuring-the-docker-task-in-bamboo-720411254.html does not work).

The possibility to share data between the bamboo host and the docker container is crucial for many CD-CI task.

 

BambooDockerExample.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events