The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

loopback addresses in pipelines

ceeceegee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2021

Hello,

Is it possible to assign loopback addresses (or manual ip addresses to services) to containers within a pipeline? My app needs some dummy addresses to run tests against, and 127.0.0.1 isn't enough.

 

ip addr add 192.168.40.1/32 dev lo
RTNETLINK answers: Operation not permitted

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2021

Hi @ceeceegee ,

Welcome to the community! 

If you need to talk between services running in docker, they have to be attached to the same docker network so you can address the services using <container-name>:<container-port> or consider using docker compose to run the services which create a custom network for the compose stack if you wish to have multiple address/loopback.

For more information, please check:

I hope this helps.

Cheers,
Syahrul

TAGS
AUG Leaders

Atlassian Community Events