I'm facing a problem where I'm trying to deploy a container (Gitlab in this case) where it expects a docker parameter with the instance's IP address (--hostname [IP]
).
I've implemented some changes to docker-container, docker-interface-library and docker-standalone-host to support additional run
parameters like --restart
, etc. I'm trying to pass --hostname %HOST%
and try to replace %HOST% with the public IP address but I saw that the $.ApplicationEndpoints is not created until the application is deployed but I need in the beginning of the process.
Is there any way to fetch the public IP from the docker host? Thanks