Can you please help me to create a simple reverse proxy configuration for Raspberry Pi 4 with Docker? At first I tried to set up a pihole with Traefik, with some information from the net. Then I tried a simpler configuration to understand how Traefik works, but I could not find a solution.
I do not have a domain, but as far as I know, Traefik does not need any.
I got the error message: 404 page not found on ip http://[ip-address]/testpath or whoami was stopped.
Docker log error: standard_init_linux.go:211: exec user process caused "exec format error"
Any ideas?
cheers Twinsen
Docker version
Server Version: 18.09.0
traefik:latest
emilevauge/whoami:latest
I changed the image version to v1.7, as you suggested, to keep it simple.I just want to get any configuration up and running. It does not have to be whoami.
image: traefik:v1.7
I expected that whoami should then be accessible via the ip address http://192.168.x.x/whoami, but it is not. Please note on the Raspberry Pi 4 is no graphic user interface installed. I found that the whoami container was stopped. Can you please give me another hint?
Thank you for the file, but it is still not working. I checked the docker logs file from whoami, because it was not running after sudo docker-compose up -d. According to docker the container whoami is not running continual. The container was stopped and the docker log from whoami shows:
standard_init_linux.go:211: exec user process caused "exec format error"
Thank you for the new file. Unfortunately whoami was automatically exited, 2 seconds after start:
$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
126fa24f4ed4 traefik:v1.7.18 "/traefik --docker=t…" 35 seconds ago Up 33 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:8080->8080/tcp traefik_traefik_1
c4bbf11d2ab8 containous/whoami:v1.3.0 "/whoami" 35 seconds ago Exited (1) 33 seconds ago
I replaced whoami with nginx for further testing, who is running stable:
Thank you so much for the new release from whoami. I don't have time for further tests in the moment, but I would like you to know, that Traefik answered correct for the first time on 192.168.x.x/whoami. I'm so glad that it is finally working.
Hello....Raspbian has the favorable position that it is the OS suggested by Raspberry Pi, and is the one that gets bug fixes and Pi-explicit highlights before some other. (The exemption some of the time being LibreELEC for some media highlights). The 64 bit for Raspbian won't get you a 64-bit userland. There is a systemd-nspawn 64-bit userland which you can use on Raspbian with a 64-digit portion. On the off chance that you need a genuine 64-cycle userland, at that point Ubuntu would presumably be my pick.