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:195: exec user process caused "exec format error" (Raspbian Stretch) #300

Open
kianrafiee opened this issue Mar 19, 2018 · 1 comment

Comments

@kianrafiee
Copy link

The docker container starts up and exits immediately.

docker log for container shows:

standard_init_linux.go:195: exec user process caused "exec format error"

I have already done:
cgroup_enable=memory swapaccount=1

@kianrafiee kianrafiee changed the title standard_init_linux.go:195: exec user process caused "exec format error" (Raspberry Pi Stretch) standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Pi Stretch) Mar 19, 2018
@kianrafiee kianrafiee changed the title standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Pi Stretch) standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Stretch) Mar 19, 2018
@jeremiahbowen
Copy link

You will need to add this to your docker file FROM --platform=linux/amd64 or update your command docker buildx build --platform=linux/amd64.

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

2 participants