Skip to content

Docker on Apple Silicon: Traefik returns 404 on all web routes #3910

@clarissecheung

Description

@clarissecheung

Description
When running PEcAn's Docker stack on Apple Silicon (M1/M2/M3/M4) Macs, the default Traefik image (traefik:v2.9) is built only for linux/amd64 and cannot reliably communicate with the Docker socket when running under emulation on ARM64. This causes all web routes to return 404 errors.

Workaround
Use traefik:v2.11 with platform: linux/arm64 in docker-compose.override.yml:

traefik:
  image: traefik:v2.11                
  platform: linux/arm64

Proposed Change:
Add a note to DEV-INTRO.md documenting this workaround for Apple Silicon users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions