umiddelb / armhf

interesting stuff about arm devices (Utilite, SolidRun, Odroid)
733 stars 114 forks source link

Cannot start docker container #29

Closed nephilim75 closed 8 years ago

nephilim75 commented 8 years ago

Hello

I need some assistance on an issue that I am facing. I followed your instructions and to me it looks like it is working. Please see this record.

Now I try to run a container called Collabora. I used this command: docker run -t -d -p 9980:9980 -e "domain=sub\.domain\.com" --cap-add MKNOD collabora/code

but it fails. Here is the error log.

Any idea how to get this fixed? Or just a hint where I can start to investigate? Is this might be an collabora container issue?

Your assistance is highly appreciated.

Kind regards //nephilim

kennethlimcp commented 8 years ago

You will need to use armhf compatible images like https://hub.docker.com/r/container4armhf/armhf-alpine/

nephilim75 commented 8 years ago

Not sure, if I handled it the right way. Pls see the error log I received now. Did I miss anything?

umiddelb commented 8 years ago

Error response from daemon: Cannot start container 839c5c152137ff9acbe51bbf1a72e88f9717b1cdc21f5cf84d4472cd6208c017: [8] System error: exec format error

The binary in your image isn't made for arm (probably it's made for x86). You need to find out the Dockerfile for collabora/code and replace the base image by its armhf equivalent.

nephilim75 commented 8 years ago

Sorry to say, but I do not know how. I am newbie on this. Any hint for me?

umiddelb commented 8 years ago

Hm, you may ask the creator of the Docker image to provide a version for armhf here or here, since they don't disclose the build procedure. :(

nephilim75 commented 8 years ago

I will try this. Wrote them today. Will get back once I got a reply. Thank you.