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,459,367
Community Members
 
Community Events
176
Community Groups

Docker Runner Host Networking and Docker Socket

Hello,

I'm still on an older version of Bamboo, but I'm interested in the new docker runner feature in Bamboo 6.4. 

Is it possible for the docker container that the docker runner uses to run with host networking enabled? Also, is it possible to interact with the docker daemon on the host while inside the container (for starting other test containers, etc)?

Thanks,

Eric

1 answer

1 accepted

1 vote
Answer accepted
Jeremy Owen Atlassian Team Apr 12, 2018

Hey Eric,

Absolutely! In-fact, with the current implementation of Docker Runner all containers run with host networking enabled with no additional configuration required.

It also supports volume mounting from host to container, so it's possible to interact with the Docker Daemon on the host by mounting the Docker socket. There's a configuration that ends up passing the equivalent of the below during the Docker run command:

--volume /var/run/docker.sock:/var/run/docker.sock

Hope this helps. :)

Thanks! That's exactly what I was looking for

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events