Docker grafana datasource elasticsearch connectivity issue 502

Hi Grafana Team,
The grafana docker container not able to connect with elasticsearch datasource throwing 502 error on the UI and blow error on the log.The elasticsearch cluster server is running on different host. so I configured the elasticsearch elb address in the grafana datasource.

console log

t=2020-01-09T10:49:27+0000 lvl=info msg=“HTTP Server Listen” logger=http.server address= protocol=http subUrl= socket=
2020/01/09 10:52:03 http: proxy error: dial tcp: lookup elasticsearch on no such host
t=2020-01-09T10:52:03+0000 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/1/*/_mapping status=502 time_ms=31 size=0 referer=

grafana version: 6.5.2

docker cmd:

docker run
-p 35602:3000
-h grafana
–name grafana
-v grafana-storage:/var/lib/grafana
-u 0
-e “LS_JAVA_OPTS=-Xmx4g -Xms4g”

Could someone please help me to resolve this issue.