FluentDocker icon indicating copy to clipboard operation
FluentDocker copied to clipboard

Composite WaitForPort with ServiceName

Open kegesch opened this issue 1 year ago • 1 comments

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
  1. I assume ServiceName is the project name in docker compose?
  2. I assumed that changing the project name does not change the expected service name in WaitForPort().

Changing "servicename" to "AlternativeName_servicename" however works.

kegesch avatar Aug 17 '22 14:08 kegesch

Hi @kegesch thanks for the bug report!

mariotoffia avatar Aug 22 '22 06:08 mariotoffia