So, it's a weird thing. I have a docker network with two containers attached, one cli frontend one aspnetcore backend.
The problem: Running the CLI inside the container times out, both when using the raw container ip of the backend and the intended way using the container name (so
http://senf-app:5000
http://senf-app:5000
in my case)
What's even more weird is that this is a C#-only issue, because this works fine:
'[command] --api-url http://senf-app:5000' timed out
'[command] --api-url http://senf-app:5000' timed out
when running inside the container.
I already tried forcing Ipv4 resolution in the http client of the cli, no results. I also tried configuring the network in different ways, with ipv6 enabled/disabled, ipv4 enabled/disabled. I just cannot get the CLI to work