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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.