I’m in the process of exploring Rancher and would appreciate if someone could help me out here.
When trying to bring up a service , I want to set the hostname of the container to the hostname of my VM where the container is deployed. The UI provides an option under Network to set it to Host but I want to stick to the Managed option.
Something like this when running the container
docker run -h=hostname
-p 8082:8082 myapp
Is there a place where I could specify/pass the -h parameter while in Managed network?
OS : CentOS7
Rancher Version :1.41
Docker Version : 1.10.3
Thanks !