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

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

Noah Guttman December 26, 2021

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2022

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

Noah Guttman January 9, 2022

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

Like hamza Bellasfar likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2022

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
sathi reddy January 3, 2022

yes it's possible.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2022

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 # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events