ubuntu/traefik

Verified Publisher

By Canonical

Updated 6 days ago

Ubuntu ROCK for Traefik, a modern HTTP reverse proxy and load balancer.

Image
Networking
Web servers
3

10K+

ubuntu/traefik repository overview

ubuntu/traefik is a rock for traefik maintained by Canonical.

Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components (Docker, Swarm mode, Kubernetes, Consul, Etcd, Rancher v2, Amazon ECS, ...) and configures itself automatically and dynamically.

[Learn more about traefik]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
2.11-26.04_edge09/20262.1126.04arm64, amd64, s390x
View deprecated tags
TagsSupport ended onUpgrade Path
2.11.0-22.04_stable
aliases2-22.04, 2-22.04_beta, 2-22.04_candidate, 2-22.04_edge, 2-22.04_stable, 2.11-22.04, 2.11-22.04_beta, 2.11-22.04_candidate, 2.11-22.04_edge, 2.11-22.04_stable, 2.11.0-22.04, 2.11.0-22.04_beta, 2.11.0-22.04_candidate, 2.11.0-22.04_edge
03/2025 -
2.10.6-22.04_stable
aliases2.10.6-22.04, 2.10.6-22.04_beta, 2.10.6-22.04_candidate, 2.10.6-22.04_edge
03/2025 -
2.10.5-22.04_stable
aliases2.10.5-22.04, 2.10.5-22.04_beta, 2.10.5-22.04_candidate, 2.10.5-22.04_edge
03/2025 -
2.10.7-22.04_stable
aliases2.10-22.04, 2.10-22.04_beta, 2.10-22.04_candidate, 2.10-22.04_edge, 2.10-22.04_stable, 2.10.7-22.04, 2.10.7-22.04_beta, 2.10.7-22.04_candidate, 2.10.7-22.04_edge
03/2025 -
2.10.4-22.04_stable
aliases2.10.4-22.04, 2.10.4-22.04_beta, 2.10.4-22.04_candidate, 2.10.4-22.04_edge
03/2025 -

Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/traefik:2.11.0-22.04_stable plan
Run

To run this rock, use any of the usual container runtimes, for example, docker:

docker run --name traefik-container \
    -p 80:80 \
    ubuntu/traefik:2.11.0-22.04_stable

Access the Traefik instance at http://localhost:80.

Get logs

To view the logs of the running container, run:

docker exec traefik-container pebble logs

Or, for a specific service:

docker exec traefik-container pebble logs <service>
Monitor health checks

Rocks may have predefined health checks that you can list by running:

docker exec traefik-container pebble checks

The overall health of your container can be inspected via:

docker exec traefik-container pebble health

Configuration

Environment variables
OptionDescriptionDefault
TZTimezone.UTC
Volumes
OptionDescriptionDefault
-v <path>:/etc/traefik/prometheus.ymlLocal configuration file for Traefik.None
Ports
OptionDescriptionDefault
-p <port>:80Expose the container's port 80 on the host's <port> for HTTP connections.None
-p <port>:443Expose the container's port 443 on the host's <port> for HTTPS connections.None

[Report a bug] [Contribute]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.

Tag summary

Content type

Image

Digest

sha256:6c0a6583c

Size

85.6 MB

Last updated

6 days ago

docker pull ubuntu/traefik:2.11-26.04_edge

This week's pulls

Pulls:

1,755

Last week