Raspberry-pi docker error: standard_init_linux.go:178: exec user process caused “exec format error”

☆樱花仙子☆ 提交于 2019-12-04 23:36:51

Raspberries use ARM and not x86_64 processors. You can only run images created for that architecture. Try searching for ARM or ARMv7 on docker hub. There is a Debian image for ARM I know of but there must be others as well.

The underlying issue is that the binary format used by ARM is not compatible with x86_64, which is the architecture used by most desktop and server systems.

Kairat Koibagarov

Add to the beginning of your file:

#!/bin/bash 

It works for me

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!