Hello, I’ve exactly the same question. I’m running docker on my Mac OS and executing my container with without specifying the IP of my host
docker run -i -p 3000:3000
-e “GF_SERVER_ROOT_URL=http://0.0.0.0”
-e "GF_SECURITY_ADMIN_PASSWORD=secret
grafana/grafana
ad10bbb0d7ef grafana/grafana “/run.sh” 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp grafana
It’s up and running and accessible by VM’s network IP, not my Mac IP:
http://192.168.99.100:3000/login
Please advise, I just need it to be accessible by using my host’s ip.