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

RasPi: exec user process caused "exec format error" #271

Closed
catexis opened this issue Mar 17, 2019 · 8 comments
Closed

RasPi: exec user process caused "exec format error" #271

catexis opened this issue Mar 17, 2019 · 8 comments
Labels
bug Something isn't working

Comments

@catexis
Copy link

catexis commented Mar 17, 2019

System info

OS Version:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Docker version:

Client:
Version:           18.09.0
API version:       1.39
Go version:        go1.10.4
Git commit:        4d60db4
Built:             Wed Nov  7 00:57:21 2018
OS/Arch:           linux/arm
Experimental:      false
Server: Docker Engine - Community
Engine:
Version:          18.09.0
API version:      1.39 (minimum version 1.12)
Go version:       go1.10.4
Git commit:       4d60db4
Built:            Wed Nov  7 00:17:57 2018
OS/Arch:          linux/arm
Experimental:     false

Description

Try to run command:

docker run -d -t -p 8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth

Or:

sudo docker run -t -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth

And i see this:

standard_init_linux.go:207: exec user process caused "exec format error"
@catexis catexis added the bug Something isn't working label Mar 17, 2019
@sr229
Copy link
Contributor

sr229 commented Mar 17, 2019

I'm trying to debug this but it seems to boil down to code-server not recognizing PWD, or I might be wrong.

@catexis
Copy link
Author

catexis commented Mar 17, 2019

@sr229 : with PWD or without - same error

@sr229
Copy link
Contributor

sr229 commented Mar 17, 2019

@catexis it seems we were running on a armhf platform, which sadly we don't compile against, yet.

refer to #35 for progress.

@nol166
Copy link
Contributor

nol166 commented Mar 21, 2019

We have a new bundler that should make it possible for more CPU architectures to run the binary. Should be finished soon @catexis

@catexis
Copy link
Author

catexis commented Mar 22, 2019

Great to hear that! Thank you for your responce and support! I am waiting for release. If it nessasary - i can make some russian translate for docs if you need.

@BuyMyMojo
Copy link

We have a new bundler that should make it possible for more CPU architectures to run the binary. Should be finished soon @catexis

is there any news on when this will drop?

@sr229
Copy link
Contributor

sr229 commented Apr 21, 2019

We're already using it AFAIK @RelievedStudios but code-server's memory usage is far from optimal for Raspberry usage.

@code-asher
Copy link
Member

Tracking here: #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants