From 5efe3075fbce49b912c129d9b1a04dc874850f30 Mon Sep 17 00:00:00 2001 From: Michael Irwin Date: Wed, 19 Nov 2025 14:53:08 -0500 Subject: [PATCH] Update Traefik version to work with Docker 29+ --- content/guides/traefik.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/guides/traefik.md b/content/guides/traefik.md index 08708fdb33a5..cb0481888742 100644 --- a/content/guides/traefik.md +++ b/content/guides/traefik.md @@ -50,7 +50,7 @@ Let’s do a quick demo of starting Traefik and then configuring two additional 2. Start a Traefik container using the following command. The command exposes Traefik on port 80, mounts the Docker socket (which is used to monitor containers to update configuration), and passes the `--providers.docker` argument to configure Traefik to use the Docker provider. ```console - $ docker run -d --network=traefik-demo -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock traefik:v3.1.2 --providers.docker + $ docker run -d --network=traefik-demo -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock traefik:v3.6.2 --providers.docker ``` 3. Now, start a simple Nginx container and define the labels Traefik is watching for to configure the HTTP routing. Note that the Nginx container is not exposing any ports. @@ -86,7 +86,7 @@ The application can be accessed on GitHub at [dockersamples/easy-http-routing-wi ```yaml services: proxy: - image: traefik:v3.1.2 + image: traefik:v3.6.2 command: --providers.docker ports: - 80:80 @@ -179,7 +179,7 @@ With this file, the only change is to the Compose configuration for Traefik. The ```yaml services: proxy: - image: traefik:v3.1.2 + image: traefik:v3.6.2 command: --providers.docker --providers.file.filename=/config/traefik-config.yaml --api.insecure ports: - 80:80