Code-server: RasPi: exec user process caused "exec format error"

Created on 17 Mar 2019  路  8Comments  路  Source: cdr/code-server

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"
bug

Most helpful comment

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

refer to #35 for progress.

All 8 comments

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

@sr229 : with PWD or without - same error

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

refer to #35 for progress.

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

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.

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?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

avelino picture avelino  路  3Comments

pchecinski picture pchecinski  路  3Comments

justmao945 picture justmao945  路  3Comments

rcarmo picture rcarmo  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments