Add hostname to the container environment.