I thought what I was trying to do was simple, but can’t seem to find the right information.
All I want to do i start Grafana in a Docker container on Wiundows and access data from our MS SQL Server.
If I start the docker instance using the default, “docker run -d -p 3000:3000 --name grafana grafana/grafana”, then when I get to testing the addition of the MS SQL connection I get the error “lookup dbserver on 192.168.65.1:53: no such host”. I have no idea where the IP address 192.168.65.1 comes from.
If I start grafana specifying a ‘host’ network for docker rather than 'bridge;, i.e. “docker run -d --network host --name grafana grafana/grafana” (specifying “-p 3000:3000” gets a message saying the port mapping is being ignored) then I can’t even connect to grafana using http://localhost:3000 so can’t configure anything.
I’m sure this should be simple to configure since it must be a common configuration.
What do I need to do to get it set up?
Update: if I use the standard docker run command and add “–dns our_dns” then I get an error “lookup dbserver on our_dns:53: server misbehaving”.
Update: Tried specifying both --dns and --network. “netstat -a” still shows nothing listening on port 3000.