-
Notifications
You must be signed in to change notification settings - Fork 8k
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
fail to run in alpine docker with error "no such file or directory" #1178
Comments
have you ever tried static build? |
why should I try that? |
because there is no standard libc in alpine. compile it as suggested. |
Thanks for the explaination. I compile on linux(arm64) acutally. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use simple demo app, compile to exe file on ubuntu named as demo
build docker image and run
result:
standard_init_linux.go:178: exec user process caused "no such file or directory"
if I run the service in ubuntu docker image, there is no such issue.
Can we make it clear what is missing?
The text was updated successfully, but these errors were encountered: