Open rklueber opened 5 years ago
Hey, good question. I've never tried to run it on ARN.
I guess it might be some general issue with Docker on ARN.
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.
FROM node:8-alpine
RUN npm i frontail -g
ENTRYPOINT [ "/usr/local/bin/frontail" ]
CMD ["--help"]
Works like a charm.
Should I change it to something different?
Thanks. My answer above was send pre mature ,-). Sorry.
FROM node:8-alpine
Hmm, that change would cause that the image would be significantly bigger. Let me think about it.
Thanks for considering it.
The difference in size in minimal. I switched to the Node's official image. Thanks for reporting it!
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.
@cartemere can I ask you to try building frontail image from the Dockerfile in the repo? Based on @rklueber comments it should work.
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...
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...
Same here :(
Same issue here with raspberry pi3; is there a workaround or soon fix? @mthenw Would be really great! Thx a lot in advance. Seb
Same issue here with raspberry pi3; is there a workaround or soon fix? @mthenw Would be really great! Thx a lot in advance. Seb
I helped myself with a base image of node, worked for me. (I ignored the deprecated warning during installation of frontail)
FROM node:latest
RUN npm i frontail -g
Don't forget to start frontail with your log files:
CMD ["frontail","/path/to/your.log"]
hmm, if that's the case, I will try to fix it right away.
I published new image mthenw/frontail:4.9.1
. Can you try it?
I published new image
mthenw/frontail:4.9.1
. Can you try it?
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"
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
So, this is my current Dockerfile which works on a raspberry pi 4
FROM node:12-stretch-slim
RUN npm i frontail -g
ENTRYPOINT [ "/usr/local/bin/frontail" ]
CMD ["--help"]
Hello,
I tried to run the docker on arm/Pi3B+.
docker-compose: ` frontail: image: mthenw/frontail container_name: frontail ports:
$ 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 1
Do I miss anything simple? Or is the docker as such not working on arm and I need to build/have another Dockerfile.Regards. Ralf