mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #168] Default Docker runs on arm? #116
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rklueber on GitHub (Jul 1, 2019).
Original GitHub issue: https://github.com/mthenw/frontail/issues/168
Hello,
I tried to run the docker on arm/Pi3B+.
docker-compose:
frontail: image: mthenw/frontail container_name: frontail ports: - 9001:9001 volumes: - ../userdata/logs:/log$ docker-compose up frontail Creating frontail ... done Attaching to frontail frontail | standard_init_linux.go:190: exec user process caused "exec format error" frontail exited with code 1Do I miss anything simple? Or is the docker as such not working on arm and I need to build/have another Dockerfile.
Regards.
Ralf
@mthenw commented on GitHub (Jul 3, 2019):
Hey, good question. I've never tried to run it on ARN.
@mthenw commented on GitHub (Jul 3, 2019):
I guess it might be some general issue with Docker on ARN.
@rklueber commented on GitHub (Jul 3, 2019):
Hello, no general issue with arm. it is caused by the image you build your Dockerfile on. This one is not universal and does not run on arm.
You built upon
FROM mhart/alpine-node:8.12.0
I did my own Dockerfile which was easy to build based on your excelent documentation. This one is universal and runs on any architecture.
Works like a charm.
@mthenw commented on GitHub (Jul 3, 2019):
Should I change it to something different?
@rklueber commented on GitHub (Jul 3, 2019):
Thanks. My answer above was send pre mature ,-). Sorry.
FROM node:8-alpine
@mthenw commented on GitHub (Jul 3, 2019):
Hmm, that change would cause that the image would be significantly bigger. Let me think about it.
@rklueber commented on GitHub (Jul 3, 2019):
Thanks for considering it.
@mthenw commented on GitHub (Jul 3, 2019):
The difference in size in minimal. I switched to the Node's official image. Thanks for reporting it!
@cartemere commented on GitHub (Jul 29, 2019):
Hello,
I just tried to run the last docker image on my Rasberry Pi 3B+, on Raspbian Buster (ARM32v7), and it does not work.
pi@raspberrypi:/var/log $ docker run --name=test -it -P -v /var/log:/log mthenw/frontail /log/syslog standard_init_linux.go:211: exec user process caused "exec format error"the base image seems to be incompatible with the RPi architecture.
@mthenw commented on GitHub (Jul 31, 2019):
@cartemere can I ask you to try building frontail image from the Dockerfile in the repo? Based on @rklueber comments it should work.
@fex01 commented on GitHub (Jan 17, 2020):
Hi @mthenw,
I'm getting the same error on my Raspberry 4B, regardless if I use a docker-compose file or 'docker run -d -P -v /var/log:/log mthenw/frontail /log/syslog' from your README...
@UdoWeberJR commented on GitHub (Mar 8, 2020):
Same here :(
@ghost commented on GitHub (Mar 26, 2020):
Same issue here with raspberry pi3; is there a workaround or soon fix? @mthenw Would be really great! Thx a lot in advance. Seb
@UdoWeberJR commented on GitHub (Mar 26, 2020):
I helped myself with a base image of node, worked for me. (I ignored the deprecated warning during installation of frontail)
Don't forget to start frontail with your log files:
CMD ["frontail","/path/to/your.log"]@mthenw commented on GitHub (Mar 26, 2020):
hmm, if that's the case, I will try to fix it right away.
@mthenw commented on GitHub (Mar 26, 2020):
I published new image
mthenw/frontail:4.9.1. Can you try it?@UdoWeberJR commented on GitHub (Mar 26, 2020):
Tried it out, is seems not to pull the right architecture, while the node image does.
standard_init_linux.go:211: exec user process caused "exec format error"@Schnuecks commented on GitHub (Oct 31, 2020):
Hi, any progess on this ?I still got this error:
standard_init_linux.go:211: exec user process caused "exec format error" on my Raspberry Pi 3 and 4
@Schnuecks commented on GitHub (Nov 10, 2020):
So, this is my current Dockerfile which works on a raspberry pi 4