Multiple services cannot have the same links
alias refer to different services
#1071
Labels
bug
Something isn't working
links
alias refer to different services
#1071
Describe the bug
When multiple (source) services use the same
links
alias to refer to different (target) services, the alias ends up referring to the same target service within every source service.To Reproduce
With this compose.yaml:
Steps to reproduce the behavior:
podman-compose up -d
foo
withinc
andd
:Expected behavior
foo
is an alias toa
(10.89.0.2) withinc
,foo
is an alias tob
(10.89.0.3) withind
.Actual behavior
foo
is an alias toa
(10.89.0.2) within bothc
andd
.What ends up happening is that
foo
gets 2 IP addresses within all services:Environment:
The text was updated successfully, but these errors were encountered: