docker-traefik icon indicating copy to clipboard operation
docker-traefik copied to clipboard

Raspberry pi4 arm64 containers

Open shark2380 opened this issue 5 years ago • 2 comments

Good evening to everybody. I'm trying to use this compose to build up a traefik stack on raspberry pi 4 with Ubuntu 20.04 64 but many images are only for amd64. Someone have any idea?

shark2380 avatar Jul 21 '20 19:07 shark2380

Hi @shark2380, unfortunately the only way is to build all the images with MultiArch support starting from GitHub code.

Which .yml file are you using? Have you tried this one: docker-compose-synology-t2.yml?

GZ

gzecchi avatar Aug 09 '20 17:08 gzecchi

I'm working on building a setup based on this using the same RPi/Ubuntu setup. Many of the containers already support the arm64 platform, or there are forks in docker hub supporting it. What you can do is go to https://hub.docker.com/search?type=image&architecture=arm64 and search for the individual image names that are listed in the compose file.

Different images can handle ARM in different ways:

  • Some of them may support ARM64 through the tag already listed (e.g. latest).
  • Some of them (like Emby) may provide a different image (emby/embyserver_arm64v8:latest).
  • Some may not support ARM at all, in which case you have two options: A) find a similar container that does support it; B) clone the repository containing the Dockerfile for the image in question, and compile it for ARM (https://www.docker.com/blog/multi-arch-images/), push it to your docker hub account, and then change the image property in the compose file to point to that.

steenbag avatar Dec 10 '20 15:12 steenbag