traefik --providers.docker=true --entrypoints.web.address=:80

Category: Web Servers & Proxies

traefik --providers.docker=true --entrypoints.web.address=:80

Start Traefik with Docker provider and a web entrypoint

CLI flags map to static config keys: this enables the Docker provider, which discovers containers as routing targets, and creates an entrypoint named web on port 80. Traefik hot-reloads routing when containers start or stop. Any flag can replace a line in traefik.yml.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.