Ubuntu 18.04上的Nvidia Jetson Nano完成了Docker运行,并显示“ exec格式错误”

时间:2019-12-22 19:44:28

标签: image docker nvidia-jetson

Ubuntu 18.04上的NVidia Jetson Nano完成了standard_init_linux.go:211: exec user process caused "exec format error"的docker运行,但是某些图像运行得很好。

organic@jetson:~$ docker run -it --rm -p 8080:8080 django
Unable to find image 'django:latest' locally
latest: Pulling from library/django
75a822cd7888: Pull complete
e4665cede9d1: Pull complete
202a45aa091c: Pull complete
7799136eb561: Pull complete
7a7f9ca3fd40: Pull complete
412f2d081014: Pull complete
Digest: sha256:5bfd3f442952463f5bc97188b7f43cfcd6c2f631a017ee2a6fca3cb8992501e8
Status: Downloaded newer image for django:latest
standard_init_linux.go:211: exec user process caused "exec format error"

organic@jetson:~$ docker pull nginx:latest
latest: Pulling from library/nginx
Digest: sha256:50cf965a6e08ec5784009d0fccb380fc479826b6e0e65684d9879170a9df8566
Status: Image is up to date for nginx:latest
docker.io/library/nginx:latest

organic@jetson:~$ docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
be6e184261a6: Pull complete
Digest: sha256:4fe721ccc2e8dc7362278a29dc660d833570ec2682f4e4194f4ee23e415e1064
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest

1 个答案:

答案 0 :(得分:0)

看起来docker run命令可以很好地拉django映像,但是运行部分失败。

Django:latest泊坞镜映像是仅x86-64的映像。但是,当您使用Jetson Nano(手臂架构)时,应该找到(或构建)arm64兼容的docker映像,而不是x86-64

您的示例中另外两个没有出现相同错误的命令仅在执行拉取部分。但是它们很可能仍然可以正常运行,因为它们都Arm64兼容。

您可以在dockerhub上的图像下方找到标签。