FluentDocker
FluentDocker copied to clipboard
Composite WaitForPort with ServiceName
The WaitForPort("servicename", "80/tcp", 20000)
works as expected on CompositeBuilder
. However after adding .ServiceName("AlternativeName")
the WaitForPort()
does not work anymore:
Can't find host endpoint for container port: 80/tcp
- I assume
ServiceName
is the project name in docker compose? - I assumed that changing the project name does not change the expected service name in
WaitForPort()
.
Changing "servicename"
to "AlternativeName_servicename"
however works.
Hi @kegesch thanks for the bug report!