Skip to content

Commit daff897

Browse files
authored
Update Traefik version to work with Docker 29+ (#23746)
## Description Update the version of Traefik being used to work with Docker Engine v29+
1 parent 9d94386 commit daff897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/guides/traefik.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Let’s do a quick demo of starting Traefik and then configuring two additional
5050
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.
5151

5252
```console
53-
$ docker run -d --network=traefik-demo -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock traefik:v3.1.2 --providers.docker
53+
$ docker run -d --network=traefik-demo -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock traefik:v3.6.2 --providers.docker
5454
```
5555

5656
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
8686
```yaml
8787
services:
8888
proxy:
89-
image: traefik:v3.1.2
89+
image: traefik:v3.6.2
9090
command: --providers.docker
9191
ports:
9292
- 80:80
@@ -179,7 +179,7 @@ With this file, the only change is to the Compose configuration for Traefik. The
179179
```yaml
180180
services:
181181
proxy:
182-
image: traefik:v3.1.2
182+
image: traefik:v3.6.2
183183
command: --providers.docker --providers.file.filename=/config/traefik-config.yaml --api.insecure
184184
ports:
185185
- 80:80

0 commit comments

Comments
 (0)