I am seeing a difference in service names when I use Traefik auto discovery:
The first container was uploaded via Docker API - the name is prefixed with a slash (which is the regular internal representation) - the second container was created by Docker compose.
The first container doesn't allow drill down in Traefik's dashboard because of the slash: it leads to a double slash in the URL which yields a 404 error.
What's worse: the loadbalancer doesn't work because of the slash
could you give your configuration?
and a small reproducible case.
Docker Desktop 220.127.116.11
docker-compose.yaml (inside folder /infrastructure/)
# Reverse Proxy
command: --api.insecure=true --providers.docker
# Test and diagnosis feedback
Needs HOST entry whoami.docker.local mapped to 127.0.0.1
Please note: Because of Windows 10 there's a volume mount to d:/docker/traefik
How to reproduce
Run compose up, then compose down. Remove whomai from compose and compose up again. Then run whoami container from docker cli.
Thanks I reopened your issue and fixed the bug https://github.com/containous/traefik/pull/5491