Hi 'im trying to get a simple docker consul server running on my windows 10 dev computer
tried something like that
docker run --net=host -e CONSUL_BIND_INTERFACE=eth0 -v c:\dev\consul\data:/consul/data -v c:\dev\consul\config:/consul/config -p 8500:8500 consul agent -server -bootstrap -ui-dir /ui
but I cannot access localhost:8500/ui on my web browser
things are persisted in the data directory, I can even curl the 8500/ui inside the container and it respond well.
I’ve tried a lot of combinaison without --net=host with differents address but cannot access to the ui
Consul by default binds the client interfaces (HTTP & DNS) to 127.0.0.1. You can make Consul listen on a non-loopback interface by setting CONSUL_CLIENT_INTERFACE=eth0.