How does Traefik find my Docker containers?
Traefik connects to the Docker socket and watches for containers starting and stopping. You describe each route with labels on the container, such as the hostname to match, and Traefik updates its routing immediately without a restart. Mounting the Docker socket gives Traefik broad access, so the docs suggest a socket proxy in front of it.