https://prefect.io logo
e

eran

08/22/2023, 10:59 AM
I have a docker run infrastructure block with a docker image. I need to get the container's host name (where the agent is running) inside the flow code. any idea how to achive the above ?
n

Nate

08/22/2023, 4:28 PM
hi @eran - something like this?
d

Darian

08/26/2023, 12:05 PM
Hi Nate, This, when run inside a flow in a dockerized container, doesn't output the container's hostname. Are there any other options available?