dmorgan81 / rebble-docker

ISC License
15 stars 5 forks source link

Error; standard_init_linux.go:195: exec user process caused "exec format error" #2

Closed clach04 closed 4 years ago

clach04 commented 5 years ago

Session sample:

clach04@clach04-lubuntu1804:~$ uname -a
Linux clach04-lubuntu1804 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:12:19 UTC 2018 i686 i686 i686 GNU/Linux
clach04@clach04-lubuntu1804:~$ cat /etc/*elease*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
clach04@clach04-lubuntu1804:~$ sudo docker pull dmorgan81/rebble
Using default tag: latest
latest: Pulling from dmorgan81/rebble
Digest: sha256:17c776e5ce5910ee8ecbd56254b810c0b1d90fb8c82dae934eafc8be5e7b9f43
Status: Image is up to date for dmorgan81/rebble:latest
clach04@clach04-lubuntu1804:~$ sudo docker run dmorgan81/rebble
standard_init_linux.go:195: exec user process caused "exec format error"

I'm not clear what bitage the Docket container needs. I tried this with 32-bit host.

clach04 commented 5 years ago

I found https://stackoverflow.com/questions/52664524/setting-up-pebble-sdk-with-docker which implies the container expects some parameters (which is probably where the rebble.sh script comes in)

clach04 commented 5 years ago

I tried a simple help, etc, with no luck.

sudo sh rebble.sh clean

Fails with the same error.

clach04 commented 4 years ago

Confirmed, this is a 64-bit image and needs a 64-bit host.

I can get the SDK version to print under Windows 64-bit host, with 64-bit Docker Docker version 19.03.5, build 633a0ea:

docker run --rm -it -v /pebble dmorgan81/rebble --version

(need to figure out file system permissions though, opened issue #5). Readme could benefit from an update similar to https://github.com/Spitemare/rebble-docker/pull/4

clach04 commented 4 years ago

Opened #6