Skip to content
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

standard_init_linux.go:219: exec user process caused: exec format error #4

Open
amitkeret opened this issue May 20, 2021 · 4 comments

Comments

@amitkeret
Copy link

The image exits immediately.
Issue title is from the image's log.
I've used Portainer to pull the image, all variables were defined as per the README.

@kevineye
Copy link
Owner

Not sure, but that seems like the kind of error message you might get if running on a binary-incompatible architecture? This is a 64-bit Intel/AMD format docker image (I think -- I haven't worked on this image in a while). Any chance you're trying to run it on an ARM platform like a raspberry pi, or something like that? If that's the case you'll need to look for an image for that architecture, or build your own image by adapting this dockerfile with a different base image and possibly slightly different package download/installs.

@amitkeret
Copy link
Author

Thank you, I am trying to use this on a Raspberry Pi Zero.
I'm not sure what you mean by a different base image though; I'm pretty sure I've previously used Alpine as the base for other images installed on a Raspberry Pi. I will have another look at that.
Thank you for the reply.

@kevineye
Copy link
Owner

When I made this image a few years ago, I don't think docker helped manage different architectures much -- you needed specific images for intel vs. arm and others. Now, I think you can build images for multiple architectures and docker manages them under the same name/tag if they exist.

So the modern images you've probably been using with Raspberry Pi like alpine are probably setup to work automatically for you, but this image is old and is not setup like that. I don't really plan on maintaining it any further at this point.

@grewhit25
Copy link

@amitkeret you could try this image grewhit25/librespot which has an arm64 and armv7 in its manifest. Just docker pull grewhit25/librespot is sufficient to i’d your platform.
I don’t use librespot anymore so at your own risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants