Product Docs
Open Source
Education
Traefik is a cloud native application proxy.
The image is available on cgr.dev:
cgr.dev
docker pull cgr.dev/chainguard/traefik
The default Traefik ports are 80 and 8080.
There is no default configuration in the image, but you can use a sample one like this:
## traefik.yml # API and dashboard configuration. DO NOT RUN IN PROD api: insecure: true
Save the configuration file from above as traefik.yml, then run:
traefik.yml
docker run -v $PWD:/etc -p 80:80 -p 8080:8080 cgr.dev/chainguard/traefik --configFile=/etc/traefik.yml time="2023-01-29T12:37:55Z" level=info msg="Configuration loaded from file: /etc/traefik.yml"
By default this image runs as a non-root user named traefik with a uid of 65532.
traefik