While trying to visit "whoami.localhost" the page doesn't load, wheras, trying on localhost:8080 I'm able to view the traefik dashboard with 1 service active.
Can anyone please let me know if I'm missing any labels on the container OR if I'm doing anying wrong here? On the traefik container logs, I see a error as:
> time="2019-10-21T07:05:37Z" level=error msg="Provider connection error error during connect: Get http://127.0.0.1:2375%60/v1.24/version: dial tcp: lookup 127.0.0.1:2375`: no such host, retrying in 4.506218855s" providerName=docker
The above error occours as soon as I add this line "--providers.docker.endpoint=tcp://127.0.0.1:2375", I'm following the instrucation's as mentioned in v2 docker to enable swarm mode
Thanks for your inputs. I tried with the changes but didn't appear to work, I still see the error as
time="2019-10-21T07:36:06Z" level=error msg="Provider connection error Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Is the docker daemon running?, retrying in 15.394871241s" providerName=docker
I removed "providers.docker.endpoint=tcp://127.0.0.1:2375" and tried visiting " http://127.0.0.1:8080", the traefik dashboard loads up just fine, but I'm unable to reach to the host of the service i.e "whoami", when I visit whoami.localhost on my local machine, the browser just keeps spinning
Thanks for your help Idez, I was able to this get this working by removing the line providers.docker.endpoint=tcp://127.0.0.1:2375, here's my final docker-compose.yml (just for reference)