Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Is it possible to change the network used by the docker service created in Bitbucket Pipelines.

So when using Bitbucket pipelines docker service (to build docker images), the service runs with a bridge network of 172.17.0.0.

 

Is it possible to override this when defining the service?

Every thing we have tries has been unsuccessful

2 answers

1 accepted

1 vote
Answer accepted

Hi @Noah Guttman and welcome to the community.

I'm afraid that this cannot be configured.

Could you perhaps share some more details about your use case, why you want to change that, and what you are trying to achieve?

Kind regards,
Theodora

Hi @Theodora Boudale

Its really quite simple, we happen to use parts of the 172.17.0.0 in our internal networking.

So in this case when pipelines tries to run the docker build, that build cannot gain access to any of the internal resources that we have on that network (which in this case include a PyPy repository, and a file server).

This causes all builds run through pipelines to fail.

And since we can't change this configuration, it means that pipelines as an offer is useless to us.

And given that we must now seek another solution, it is causing to to reevaluate if we are going to continue using Bitbucket cloud at all. 

Noah

Hi Noah,

Thank you for your reply and additional info.

You mention accessing internal resources; are you using Pipelines Runners for your builds or Pipelines on Atlassian infrastructure?

Kind regards,
Theodora

0 votes

yes it's possible.

Hello @sathi reddy

Welcome to the Atlassian Community.

You are welcome to share your experience and provide detailed steps that might help other customers, but we would like to kindly ask you to avoid adding short answers not containing further details on how to achieve the request of the community question.

In other words, please ensure your answer can properly show a path to achieve the goal required in the question, so we can keep the community as a useful resource to Atlassian customers/experts.

Thanks!

Petterson Gonçalves - Atlassian Support

Like Noah Guttman likes this

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

210 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