-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi: App build error #5
Comments
Thanks for letting us know! I'm unable to reproduce this. Could you please share the OS you're running, and the Docker version you're using? |
Hello, Is Docker on Raspberry Pi 4 with Ubuntu OS supported for the tutorial environment? Have the following error "standard_init_linux.go:219: exec user process caused: exec format error" on container "tutorial-environment_db_1" And Permissions error "/bin/sh: /app: Permission denied" on "tutorial-environment_app_1" Thanks, |
Same here, also on a Raspberry Pi 4, but with Raspbian 10 (buster)
@marcusolsson Thanks |
I was able to reproduce on my raspberry PI 4B 4GB with ubuntu_server_21 installed. Perhaps same issue can be reproduced with ubuntu server Docker image running inside the tutorial. On my macOS 11.4 worked like a charm. |
I'm also experiencing a similar issue. I'm running Docker 20.10.21 on a Raspberry Pi 3B+ running Pi OS Bullseye. I also use Portainer to manage Docker. Here's the log output I get from Portainer when the app container exits: Any thoughts? |
got this working on raspberry pi: changes in https://github.com/markr111/tutorial-environment/tree/ARM_DEMO (not submitting as PR to grafana because it will break non-ARM architectures) /app was compiled and bundled in the app repo as an AMD64 binary. Also - the db container was exiting on rpi for the same reason (incompatible arch), docker hub has a pi-specific tns-db image which docker-compose.yml now points at (this will break tns-db on other architectures) caveat: I haven't run the entire demo against this branch so things might still be broken - but no more errors on startup. |
Thanks for the contribution! I'm afraid I still can't get it to work properly: same |
@andriandreo - /app shouldn't exist (it's at /src/app) have you switched to the ARM_DEMO branch? |
Yes, of course, but something is wrong with the app file, that error persists |
try |
Hi there!
When docker-compose up runs, the app and db seem to exit.
When attempting to docker-compose up the app alone, it gives the error: /app: line 1: syntax error: unexpected "("
Thanks :)
The text was updated successfully, but these errors were encountered: