Unable to see all environment variables on container

I noticed when you look at the environment variables for a container that is linked to another container it doesn’t show all the environment variables. Especially ones that gets set when you link to another container using the --link option. I can see them when i run command printenv on the container.