cowrie / docker-cowrie

Cowrie Docker GitHub repository
https://www.cowrie.org/
83 stars 35 forks source link

Raspberry Pi 3 - compatibility issue #1

Closed sereysethy closed 6 years ago

sereysethy commented 6 years ago

Hi,

I tried to use cowrie docker image to run on Raspberry Pi 3, apparently the image is not compatible with ARM architecture. I got this error:

cowrie_cowrie_1 is up-to-date
Attaching to cowrie_cowrie_1
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_1  | standard_init_linux.go:190: exec user process caused "exec format error"
cowrie_cowrie_1 exited with code 1

I know it is not the problem of cowrie, but it is more with Docker related problem.

micheloosterhof commented 6 years ago

Hello! Yes it seems there's an issue there. Did you build the Docker image from scratch or was it downloaded from the internet? Try rebuilding it.

On Fri, 13 Jul 2018 at 18:17, Sereysethy Touch notifications@github.com wrote:

Hi,

I tried to use cowrie docker image to run on Raspberry Pi 3, apparently the image is not compatible with ARM architecture. I got this error:

cowrie_cowrie_1 is up-to-date Attaching to cowrie_cowrie_1 cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_1 | standard_init_linux.go:190: exec user process caused "exec format error" cowrie_cowrie_1 exited with code 1

I know it is not the problem of cowrie, but it is more with Docker related problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cowrie/docker-cowrie/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABA4gzHdRlMA_-N_hRFAl-1eu_w7wCZ2ks5uGKvrgaJpZM4VO915 .

sereysethy commented 6 years ago

Hi, rebuilding the image from scratch works flawlessly. What I reported is related to the image on docker hub. Thanks!

micheloosterhof commented 6 years ago

Okay, The RPi is an ARM processor and the files you downloaded are for Intel. Closing this PR.