Docker for Azure/AWS

I just want to pass one container variable value to other container linking is not working in this concept. For example, I want to pass value of DOCKERCLOUD_SERVICE_FQDN to the application which runs in the same container. How can i do it?