konkor / obmin

File Sharing Server
https://obmin.github.io/
GNU General Public License v3.0
69 stars 8 forks source link

standard_init_linux.go:211: exec user process caused "exec format error" #17

Open sunjam opened 4 years ago

sunjam commented 4 years ago

Attempting to install on arm64 Odroid C2

docker run --volume="$PWD:/srv/obmin" -p 80:8088 -it obmin/obmin

standard_init_linux.go:211: exec user process caused "exec format error" failed to resize tty, using default size

konkor commented 4 years ago

@sunjam Looks like it's dockerhub issue, docker doesn't pass platform arch automatically. I've never tried docker on arm/RPi before... If you still want to run it you should build docker image on your platform:

git clone https://github.com/konkor/obmin-docker.git
cd obmin-docker
docker build -t obmin .

... and run it with just obmin name. obmin/obmin is for dockerhub version which seems x86_64 by default.

BTW: it's not designed for such use cases. It's for desktop usage mostly with gtk frontends. Looks like for the docker version it should be without them. You can always contribute to the project if you're really interested.

You can run it without installer or docker images on your host system at all!!! It's the best option for you.

Thanks for the report!