tensorrt_inference icon indicating copy to clipboard operation
tensorrt_inference copied to clipboard

I have failed to build docker images.

Open leeyunhome opened this issue 2 years ago • 3 comments

Hello, @linghu8812

manager@manager-desktop:~/coding/GitHub/tensorrt_inference$ sudo docker build -t tensorrt_inference:0.1.0_rc . Sending build context to Docker daemon 106.5MB Step 1/9 : FROM nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04 ---> afc7fe5f7509 Step 2/9 : WORKDIR /home/install/ ---> Using cache ---> de321099358d Step 3/9 : RUN apt-get update ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 359afcd09f9c standard_init_linux.go:228: exec user process caused: exec format error The command '/bin/sh -c apt-get update' returned a non-zero code: 1

Cou,ld you tell me how to resolve this problem?

Thank you.

leeyunhome avatar Jul 20 '22 08:07 leeyunhome

where do you build image? dGPU or Jetson

linghu8812 avatar Jul 21 '22 07:07 linghu8812

where do you build image? dGPU or Jetson

Built by Jetson.

leeyunhome avatar Jul 21 '22 07:07 leeyunhome

where do you build image? dGPU or Jetson

Built by Jetson.

replace this line with ubuntu images which can run on Jetson. https://github.com/linghu8812/tensorrt_inference/blob/master/Dockerfile#L1

linghu8812 avatar Jul 21 '22 08:07 linghu8812